Help Desk Acrobits > Help Desk > Knowledgebase

Search help:

Setting up your own rate check web service


The account XML parameters to set up the rate checker web service are:



genericRateCheckUrl - the URL to use. In case of GET method, the parameters need to be using placeholders. Example below:[username]%&p=%account[password]%&targetNumber=%targetNumber%


genericRateCheckPostData - POST parameters, which will be passed using the "application/x-www-form-urlencoded" content type. The same placeholders may be used for this property. In case this property is empty, GET method will be used, otherwise POST is used.


Supported placeholders:

%account[propertyName]% - will be replaced with the account XML field with name "propertyName". The most useful properties are "username" and "password", which hold the SIP username and password, and "host", which hold the SIP domain.


Note: the property name "password" may only be used if the genericRateCheckUrl is using the https: scheme. The app will not send plaintext password in the parameter. If you must use plaintext http and need some authentication, we allow SHA1 of the password to be sent. You can specify it as: %sha1(%account[password]%)%


%targetNumber% - will be replaced with the destination number, as it is dialed. This parameter will probably be always present.


Expected response:


The "rateString" is shown as-is if the "error" parameter is 0 (or missing at all). 

Was this article helpful? yes / no
Related articles Setting up your own SMS web service
Setting up Your Own Web Callback Web Service in Groundwire for iOS
Setting up your own balance check web service
unable to register with Unovon
Unable to register (sipgate)
Article details
Article ID: 76
Category: Knowledgebase
Date added: 2015-01-06 14:45:58
Views: 2231
Rating (Votes): Article rated 3.1/5.0 (70)

« Go back