twilio - Pass Information from IVR to Call Center in SIP Header -
we have implemented ivr system redirects calls call center. call center wants send relevant information in custom sip header ivr can pass custom information useful service call without requesting information entered in ivr again. have tried find documentation explains needed done have had no luck.
is simple adding custom headers sipheader_x-headername=headervalue part of voice response mentioned in https://www.twilio.com/docs/api/twilio-sip/sip-twiml or else required sip url mentioned in https://www.twilio.com/docs/api/twiml/sip
any direction/help helpful.thanks in advance.
update question :
configured url in twilio direct calls.using java based microservice app using spring boot service url calls. below code snippet contains dial csr.
string = null; redirect redirect; voiceresponse.builder builder = new voiceresponse.builder(); = messagesource.getmessage("you connecting csr", null, locale.english); builder.say(new say.builder(say).voice(voice.alice).language(language.en_us).build()).dial(new dial.builder().number(new number.builder(number).build()).build()); response.setcontenttype("application/xml"); response.getwriter().append(builder.build().toxml());
sounds me dialing out sip endpoint parameters should docs linked to:
$dial->sip('sip:jack@example.com?mycustomheader=foo&myotherheader=bar');
Comments
Post a Comment