Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flexydial
/
hdfc-beu-v2
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
f234e4ea
authored
2019-09-05 14:34:51 +0000
by
Manish Mihsra
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Added inbound campaign wise and call back as well
1 parent
4284bd17
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
application/app/Jobs/KPAMIListen.php
application/app/Jobs/KPAMIListen.php
View file @
f234e4e
...
...
@@ -674,7 +674,7 @@ class KPAMIListen implements IEventListener
{
$wakka
=
new
KHRMSLib
();
$record
=
$wakka
->
getPerson
(
$crmcall
->
crm_id
,
$crmcall
->
client
);
if
(
$record
)
if
(
$record
&&
stristr
(
$record
[
"peopledata"
][
'dialer_substatus'
],
"follow"
)
==
""
)
{
$record
[
"peopledata"
][
"dialer_status"
]
=
"InboundDROP"
;
$record
[
"peopledata"
][
"dialer_substatus"
]
=
"InboundDROP"
;
...
...
@@ -1569,9 +1569,10 @@ class KPAMIListen implements IEventListener
}
else
{
$data
=
User
::
where
(
'presence'
,
'='
,
"1"
)
->
where
(
'exten'
,
'like'
,
"%"
.
$did
.
"%"
)
->
select
(
'id'
)
->
get
()
$data
=
Sipid
::
where
(
'server'
,
'='
,
$this
->
sipip
)
->
where
(
"status"
,
"="
,
"1"
)
->
where
(
"clients"
,
"like"
,
"%"
.
$did
.
"%"
)
->
select
(
'user'
)
->
get
()
->
toArray
();
}
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment