Question

WebHook not receiving calls

  • 10 January 2017
  • 6 replies
  • 947 views

Hi All, I have successfully registered a WebHook for purpose of monitoring incoming calls. I am working against Sandbox environment. I am not receiving any calls on my WebHook.


I saw similar questions but they were resolved with no further explanation.


My webhook is a Java servlet, I utilized ngrok as advised. I am placing a call to sandbox phone number, then I am dialing extension 101, neither events send a call to my web hook. Here is how my subscription list look like:


{ "uri": "https://platform.devtest.ringcentral.com/restapi/v1.0/subscription";,

"records": [

{


"uri": "https://platform.devtest.ringcentral.com/restapi/v1.0/subscription/8418023a-3663-40c1-9a2b-f078d20b2...;,

"id": "8418023a-3663-40c1-9a2b-f078d20b2829",

"creationTime": "2017-01-10T18:42:50.856Z",

"status": "Active",

"eventFilters": [

"/restapi/v1.0/account/153525004/extension/153525004/presence?detailedTelephonyState=true&sipData=true",

"/restapi/v1.0/account/153525004/extension/153525004/message-store",

"/restapi/v1.0/account/153525004/extension/153525004/presence/line/presence",

"/restapi/v1.0/account/153525004/extension/153525004/presence/line/presence?detailedTelephonyState=true",

"/restapi/v1.0/account/153525004/extension/153525004/presence",

"/restapi/v1.0/account/153525004/extension/153525004/presence/line",

"/restapi/v1.0/account/153525004/extension"

],

"expirationTime": "2017-01-17T18:42:50.856Z",

"expiresIn": 601984,

"deliveryMode": {


"transportType": "WebHook",

"encryption": false,

"address": "https://33d7f758.ngrok.io/RingCentralTest/RcTest";

}

}

]

}


6 replies

Check to see if you have enough calling credits. You are given 500 credits/month this is if you are not a paying customer in your sandbox account.
Kobie, thanks for reply. Where should I see my credits? I couldnt find any reference of 'Sandbox credit'. Also I dont think I have sone anything that could spend any kind of credit so far and I am not placing calls from API, I am trying to call my main companay number, expecting it will trigger a call to my subscribed WebHook
In your sandbox if you go into the call logs screen and on any row hover your mouse over the column called result a message bubble will appear letting you know if you have any or not. Also, if you call your company number with your mobile phone you should receive a message stating "Voice mail is full". 
Problem solved. Extension must be in use(by a physical or softphone) otherwise webhook events are not sent.

Thank you all!
Thanks for the update and information, I totally forgot about that requirement. Appreciate you investing time and sharing the results.
I am facing same problem, I subscribed to webhook

Array ( [uri] => https://platform.ringcentral.com/restapi/v1.0/subscription/72905ffc-3bc4-4550-9e58-1b337b63cdc1 [id] => 72905ffc-3bc4-4550-9e58-1b337b63cdc1 [creationTime] => 2017-06-02T00:39:24.557Z [status] => Active [eventFilters] => Array ( [0] => /restapi/v1.0/account/466727023/extension/101/presence?detailedTelephonyState=true ) [expirationTime] => 2017-06-09T00:39:24.557Z [expiresIn] => 604799 [deliveryMode] => Array ( [transportType] => WebHook [encryption] => [address] => https://synpat.com/ringcentral.php ) )


When I cam calling, I dont get any notfication. 

Thanks

Reply