Api roaming login

From Mixpbx

Jump to: navigation, search

API Login/Logout

Parameters

  • script: roaming.php
  • action: statuslogin,statuslogout,login,logout
  • phone: the phone that you want to login/logout ($company_$extension)
  • username: the username that wants to login/logout ($company_$extension)
  • password: the password of the user that wants to login/logout
 * pin: the voicemail pin can be used instead of the password 


Return

  • 200: User has been loggedin or loggedout in
  • 403: No or wrong login data
  • 500: General error


Example: https://192.168.0.180/roaming.php?action=login&phone=loicvoip1_20&username=loicvoip1_9&password=mypassword

  • Extension 9 logs into extension 20
Personal tools