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
8db6de55
authored
2019-01-03 15:14:39 +0530
by
G Manojkumar
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Added clientcode to kstychCall
1 parent
0947adbb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
application/app/Http/Controllers/DialerController.php
application/app/Http/Controllers/SmsController.php
application/app/Http/Controllers/DialerController.php
View file @
8db6de5
...
...
@@ -656,7 +656,7 @@ if($action=="closecall")
$user
=
$wakka
->
getPerson
(
$crmcall
->
crm_id
);
$
clientcode
=
$user
[
'peopledata'
][
'clientcode'
];
$
kstychCall
[
"clientcode"
]
=
$user
[
'peopledata'
][
'clientcode'
];
if
(
$user
[
'peopledata'
][
'id'
]
==
$crmcall
->
crm_id
)
{
$user
[
'peopledata'
][
"dialer_status"
]
=
$kstychCall
[
"userstatus"
];
...
...
@@ -724,7 +724,7 @@ if($action=="closecall")
$userlog
->
save
();
try
{
$smscontroller
=
new
SmsController
();
$smscontroller
->
sendSmsBasedOnSubDisposition
(
$kstychCall
,
$clientcode
);
$smscontroller
->
sendSmsBasedOnSubDisposition
(
$kstychCall
);
}
catch
(
Exception
$e
)
{
Log
::
info
(
$e
->
getMessage
());
}
...
...
application/app/Http/Controllers/SmsController.php
View file @
8db6de5
...
...
@@ -8,7 +8,7 @@ class SmsController extends Controller
{
public
$smsUrl
=
'https://10.2.55.165:443/servlet/com.aclwireless.pushconnectivity.listeners.TextListener?'
;
//public $userarray = array("A21568","admin");
public
function
sendSmsBasedOnSubDisposition
(
$kstychCall
,
$clientcode
)
public
function
sendSmsBasedOnSubDisposition
(
$kstychCall
)
{
//$users = $this->userarray;
//if(in_array(Auth::user()->username , $users)){
...
...
@@ -16,12 +16,12 @@ class SmsController extends Controller
if
(
!
empty
(
$msgText
)
)
{
$msgText
=
$this
->
fillValuesInTemplate
(
$msgText
);
//Log::info($msgText);
$this
->
sendSmsRequest
(
$kstychCall
,
$msgText
,
$clientcode
);
$this
->
sendSmsRequest
(
$kstychCall
,
$msgText
);
}
//}
return
;
}
public
function
sendSmsRequest
(
$kstychCall
,
$msgText
,
$clientcode
)
public
function
sendSmsRequest
(
$kstychCall
,
$msgText
)
{
//$wakka = new KHRMSLib();
$url
=
$this
->
smsUrl
;
...
...
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