1

Actually I wanted to get custom params in plugin from client I tried pass params from extension.conf like below:

exten => s,2, SynthAndRecog(Welcome to bot,builtin:speech/transcribe, userdid=user_id&spl=en-IN&p=speech-nuance5-mrcp2)

But I'm not getting it in plugin. Here is the plugin code to get param:

while((header_field = mrcp_message_next_header_field_get(request,header_field)) != NULL ) {
       printf("\n===============params================\n");
       printf("%s: %s\n", header_field->name.buf, header_field->value.buf);

}
Meister96Fels
  • 508
  • 1
  • 8
  • 26
suresh bambhaniya
  • 1,687
  • 1
  • 10
  • 20

0 Answers0