Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
AmiBX
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bitrix
AmiBX
Commits
f338e9c4
Commit
f338e9c4
authored
Jan 14, 2022
by
Kulya
😊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Handler PhoneNumber from CallerID2
parent
9c8edb93
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
AloVoiceHandle.php
vendor/alovoice/src/AloVoiceHandle.php
+2
-2
No files found.
vendor/alovoice/src/AloVoiceHandle.php
View file @
f338e9c4
...
@@ -344,7 +344,7 @@ class AloVoiceHandle implements \PAMI\Listener\IEventListener
...
@@ -344,7 +344,7 @@ class AloVoiceHandle implements \PAMI\Listener\IEventListener
}
}
}
}
$connLineNum
=
substr
(
$eventKeys
[
"connectedlinenum"
],
-
9
)
;
$connLineNum
=
(
!
empty
(
$eventKeys
[
"connectedlinenum"
]))
?
substr
(
$eventKeys
[
"connectedlinenum"
],
-
9
)
:
false
;
if
(
$bxchannels
[
$eventKeys
[
"linkedid"
]][
"BX24_DIRECTION"
]
==
'OUTCALL'
){
if
(
$bxchannels
[
$eventKeys
[
"linkedid"
]][
"BX24_DIRECTION"
]
==
'OUTCALL'
){
$callRegisterParams
[
"USER_PHONE_INNER"
]
=
$bxchannels
[
$eventKeys
[
"linkedid"
]][
"BX24_CALLERID"
];
$callRegisterParams
[
"USER_PHONE_INNER"
]
=
$bxchannels
[
$eventKeys
[
"linkedid"
]][
"BX24_CALLERID"
];
...
@@ -365,7 +365,7 @@ class AloVoiceHandle implements \PAMI\Listener\IEventListener
...
@@ -365,7 +365,7 @@ class AloVoiceHandle implements \PAMI\Listener\IEventListener
$callRegisterParams
[
"DESC"
]
=
$eventKeys
[
"calleridname"
];
$callRegisterParams
[
"DESC"
]
=
$eventKeys
[
"calleridname"
];
}
}
else
{
else
{
$callRegisterParams
[
"PHONE_NUMBER"
]
=
substr
(
$eventKeys
[
"calleridnum"
],
-
9
);
}
}
$searchNumber
=
$callRegisterParams
[
"PHONE_NUMBER"
];
$searchNumber
=
$callRegisterParams
[
"PHONE_NUMBER"
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment