Skip to content

Commit b8706d8

Browse files
authored
[Bugfix]: Fix Telnyx webhook (#1833)
Fix Telnyx webhook Signed-off-by: Kevin Ullyott <kevin.ullyott@canyongbs.com>
1 parent 38d19c5 commit b8706d8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

app-modules/notification/src/Notifications/Channels/SmsChannel.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,8 +257,8 @@ protected function sendViaTelnyx(TwilioMessage $message, mixed $recipientNumber,
257257
'from' => $message->getFrom(),
258258
'to' => config('local_development.twilio.to_number') ?: $recipientNumber,
259259
'text' => $message->getContent(),
260-
'webhook_url' => config('app.url') . route('inbound.webhook.twilio', 'status_callback', false),
261-
'webhook_failover_url' => config('app.url') . route('inbound.webhook.twilio', 'status_callback', false),
260+
'webhook_url' => config('app.url') . route('inbound.webhook.telnyx', absolute: false),
261+
'webhook_failover_url' => null,
262262
]);
263263

264264
$result->success = true;

0 commit comments

Comments
 (0)