Skip to content

Commit

Permalink
Fix typo that is preventing external_dial to work
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel Covarrubias committed Aug 10, 2022
1 parent 6b00787 commit 8316759
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 8316759

Please sign in to comment.