Welcome to Smart Home Forum by FIBARO
Search the Community
Showing results for tags 'version 4.110'.
There was a topic on link Asterisk PBX and HC2 to have telephone caller ID passed to HC2 : The global variables were passed to HC2 via API call as : $url = "http://". $username . ":" . $password . "@" . $HC2serverIP . "/api/globalVariables/" . $variable; where $password = "password" // password for HC2 $username = "username" // username for HC2 $HC2serverIP = "220.127.116.11" // IP of HC2 when we had HC2 username as single word it was working fine, but now when we were forced to convert our username to e-mail address we have special character '@' in the username. The special character '@' of the username is passed to HC2 as '%40' so instead the username of the form "[email protected]" we have "user%40mail.com" and of course we are not authorized by HC2 and our variables are not updated. Any advise how to deal with this to have the global variable updated remotely via API call ?