Saving UniMRCP Channel-Identifier to FreeSWITCH CDR

69 views
Skip to first unread message

Sean DiSanti

unread,
Jun 13, 2019, 5:00:03 PM6/13/19
to UniMRCP
Is there a way to access the channel-identifier value from FreeSWITCH, so that we can add it to our calldata record? I'm able to see it in the console, but have not had much luck in trying to access it programatically.

Arsen Chaloyan

unread,
Jun 15, 2019, 12:21:40 AM6/15/19
to UniMRCP
Hi Sean,

I do not think such an option is available, but it should not be hard to extended mod_unimrcp.c in FS to pass the channel-identifier along with results. The function recog_channel_set_result_headers() appears to me the right place to look at.

On Thu, Jun 13, 2019 at 2:00 PM Sean DiSanti <sdisanti...@gmail.com> wrote:
Is there a way to access the channel-identifier value from FreeSWITCH, so that we can add it to our calldata record? I'm able to see it in the console, but have not had much luck in trying to access it programatically.

--
You received this message because you are subscribed to the Google Groups "UniMRCP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to unimrcp+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/unimrcp/5bd7d9a6-4ab1-4688-8f3b-801a7cefa0fd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Arsen Chaloyan
Author of UniMRCP
http://www.unimrcp.org

Sean DiSanti

unread,
Jun 15, 2019, 4:33:41 PM6/15/19
to uni...@googlegroups.com

Sean DiSanti

unread,
Jun 19, 2019, 1:01:05 PM6/19/19
to uni...@googlegroups.com
With your advice we've successfully captured the channel identifier to add to our calldata. Now we are looking to see if it's possible to pass a piece of information like the uuid into unimrcp and have it make it into the log, so that we can do the same look up from either direction.

Arsen Chaloyan

unread,
Jul 2, 2019, 5:32:20 PM7/2/19
to UniMRCP
The same channel-identifier that you added to your call data in FS is available in the server logs too.

BTW, the MRCP header field Logging-Tag can possibly serve the purpose to pass additional information from the client to the server. However, this header field is not processed by UniMRCP server as of now.




For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages