bind extension

 EVENT=SetDevice&orgidentity=orgidentity&exten=exten&user=user&pwdtype=pwdtype&password=password

Change agent bind number, agent need to check out of agent group before using this API.

Params Type Description
EVENTStringSetDevice
orgidentityStringteam identity string
extenStringextension number
userStringagent No.
pwdtypeStringpassword type: plaintext/md5
passwordStringpassword

|Retuen|code|Retuen|message

Value Description
|Retuen|1|Retuen|message
|Retuen|succeed|Retuen|message
|Retuen|2|Retuen|message
|Retuen|failed|Retuen|message