Skip to content

Commit

Permalink
Merge pull request #2 from nerthux/dev
Browse files Browse the repository at this point in the history
Fix typo that is preventing external_dial to work
  • Loading branch information
masterfermin02 authored Aug 10, 2022
2 parents 6b00787 + 8316759 commit c887269
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Agent/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ public function dial($agent_user, $options)
$options = $this->encode($options) + [
'agent_user' => urlencode(trim($agent_user)),
'function' => 'external_dial',
'value' => urlencode(trim($options['phone_numer'])),
'value' => urlencode(trim($options['phone_number'])),
'phone_code' => urlencode(trim($options['phone_code'] ?? '')),
'search' => 'YES',
'preview' => 'NO',
Expand Down

0 comments on commit c887269

Please sign in to comment.