Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Updated using 4PSA automated script

...

Note
titleThe code is on GitHub

Download here. Do not hesitate to contribute in order to make this example better - we welcome Pull Requests!


Make a

...

call between two public numbers

Code Block
curl "https://raw.githubusercontent.com/4psa/uapi-example-php/master/01_public_call.php" -o 01_public_call.php -L

Make a Sandbox

...

call

Code Block
curl "https://raw.githubusercontent.com/4psa/uapi-example-php/master/02_sandbox_call.php" -o 02_sandbox_call.php -L

Park a

...

phone call

Anchor
demo-ph-park
demo-ph-park

...

Code Block
curl "https://raw.githubusercontent.com/4psa/uapi-example-php/master/03_park_call.php" -o 03_park_call.php -L

Transfer a

...

call to a

...

public number

Anchor
demo-ph-xfer
demo-ph-xfer

...

Code Block
curl "https://raw.githubusercontent.com/4psa/uapi-example-php/master/04_transfer_call.php" -o 04_transfer_call.php -L

Record an

...

ongoing conversation

Anchor
demo-ph-rec
demo-ph-rec

...

Code Block
curl "https://raw.githubusercontent.com/4psa/uapi-example-php/master/05_record_call.php" -o 05_record_call.php -L

Log in an

...

agent to a

...

queue

Anchor
demo-queue-ag
demo-queue-ag

...

Code Block
curl "https://raw.githubusercontent.com/4psa/uapi-example-php/master/06_agent_login.php" -o 06_agent_login.php -L

List the

...

registration status of an

...

extension

Anchor
demo-ext-pres
demo-ext-pres

...

Code Block
curl "https://raw.githubusercontent.com/4psa/uapi-example-php/master/07_list_registration.php" -o 07_list_registration.php -L

Except where otherwise noted, content in this space is licensed under a Creative Commons Attribution 4.0 International.