During a call BlueVia may send notifications for in-call events that occur during a calls. BlueVia will HTTP POST these in call event notifications to the callback URL assigned to your number, or alternatively, if you have over-ridden the callback URL via a HTTP POST made to the Calls resource.
For an inbound call to your BlueVia Voice Number a CalledNumber event is always HTTP POSTed to the callback URL associated with your number. Every time your BlueVia Voice Number is called, you will always receive a notification of this, via a CalledNumber event on your callback URL.
For an outbound call, created by a HTTP POST to the Calls resource the first Answered event is always sent to the callback URL associated with the BlueVia Voice Number. The callback URL associated with your BlueVia Voice Number, can of course be over-ridden every time a HTTP POST request is made to the Calls resource. As a result you can create a call specific callback URL should you wish to, that will receive call event notifications.
BlueVia Call Notifications are HTTP POSTed to your callback URLÆs and the body of the request will contain the event detail. The body of the HTTP POST request contains the JSON formatted response e.g.:
{"timestamp":"<datetime value>","callerId":"tel:+4412345678","eventName":"<nameOfTheEvent>","callId":"<theIDOfTheCallResource>","legId":"<theIDOfTheLeg>","destination":"tel:+4423456789"}
Where
There are also additional attributes for some of the different in call events. These are discussed in further detail in each of the following descriptions.
The following represent the different in call event types that can be provided to your callback URL. These are represented by the eventName attribute in the body of the HTTP POST request.
NOTE: During the alpha period the only notifications provided will be
The discussion below relates to a feature that we are working on in whihc you will be able to receive these further in call events
AGAIN NOTE: That you will only receive the following notifications during the alpha period: