-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
web/rest: added PUT /billable_calls/{callid}/rate endpoint #1160
web/rest: added PUT /billable_calls/{callid}/rate endpoint #1160
Conversation
90305ca
to
e927241
Compare
e927241
to
a59f5a7
Compare
if (count($calls) !== 1) { | ||
$errorMsg = sprintf( | ||
'Multiple calls found with callid %s', | ||
$callid | ||
); | ||
|
||
throw new \DomainException($errorMsg, 500); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we leave this as is, it would be impossible to tarificate bounced calls within the same brand.
Maybe we should add extra conditions to avoid this scenario (direction with outgoing as default value?)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated repository query, thanks :)
a87949e
to
c3b3588
Compare
c3b3588
to
957eb6f
Compare
Rebase completed. |
957eb6f
to
40a670a
Compare
Rebase completed. |
40a670a
to
c8794bf
Compare
c8794bf
to
8dba768
Compare
25fd202
to
3ffd5d0
Compare
3ffd5d0
to
99519ba
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job!
Added PUT /billable_calls/{callid}/rate endpoint on platoform and brand API
Type Of Change
Checklist: