Guest User

Untitled

a guest
Nov 22nd, 2017
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. Hi Everyone..
  2.  
  3. Finally got solution how one can get back status from twilio. Just design an Http Handler and use the context property to get back the parameters
  4. Below is the hanlder code:
  5.  
  6. Public Sub ProcessRequest(ByVal context As HttpContext) Implements IHttpHandler.ProcessRequest
  7.  
  8.  
  9.  
  10.  
  11.  
  12. Dim callsid = context.Request.Params.Get("CallSid")
  13.  
  14. Dim FromNumber = context.Request.Params.Get("From")
  15.  
  16. Dim ToNumber = context.Request.Params.Get("To")
  17.  
  18. Dim callStatus = context.Request.Params.Get("CallStatus")
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38. '
  39.  
  40.  
  41. End Sub
Add Comment
Please, Sign In to add comment