The application supports trusted mode and i_customer parameter should be supplied in this case.


getRegistrationStatus()

This application is used to get SIP registration status of an account.

Parameters:

  • i_account - i_account of an account. Integer. Required.

Returns:

  • result - OK means that account is registered. String.
  • user_agent - User-Agent header. String.
  • contact - contact header. String
  • expires - expiration time in '%H:%M:%S.000 GMT %a %b %d %Y' format (e.g. 09:57:29.000 GMT Wed Nov 18 2009). String.
  • XML-RPC fault with code 403 and message 'Account is not registered' when the account is not registered.
  • XML-RPC fault in case of any error.