Why is all incoming sms/phone call data repeated in Twilio request? -
i'm seeing pertinent data incoming phone call , sms repeated when receive requests twilio handle communication:
{ accountsid: [ 'xxx', 'xxx' ], tozip: [ '30680', '30680' ], fromstate: [ 'ny', 'ny' ], called: [ '+111', '+111' ], fromcountry: [ 'us', 'us' ], callercountry: [ 'us', 'us' ], calledzip: [ '30680', '30680' ], direction: [ 'inbound', 'inbound' ], fromcity: [ 'new york', 'new york' ], calledcountry: [ 'us', 'us' ], callerstate: [ 'ny', 'ny' ], callsid: [ 'xxx', 'xxx' ], calledstate: [ 'ga', 'ga' ], from: [ '+222', '+222' ], callerzip: [ '10028', '10028' ], fromzip: [ '10028', '10028' ], applicationsid: [ 'xxx', 'xxx' ], callstatus: [ 'ringing', 'ringing' ], tocity: [ 'statham', 'statham' ], tostate: [ 'ga', 'ga' ], to: [ '+111', '+111' ], tocountry: [ 'us', 'us' ], callercity: [ 'new york', 'new york' ], apiversion: [ '2010-04-01', '2010-04-01' ], caller: [ '+222', '+222' ], calledcity: [ 'statham', 'statham' ] }
this happening because webserver redirects http traffic https. redirect causes twilio repeat information (like , number). hope saves trouble of figuring out in future.
Comments
Post a Comment