{"action":"closed","issue":{"url":"https://api.github.com/repos/unispeech/unimrcp/issues/155","labels_url":"https://api.github.com/repos/unispeech/unimrcp/issues/155/labels{/name}","comments_url":"https://api.github.com/repos/unispeech/unimrcp/issues/155/comments","events_url":"https://api.github.com/repos/unispeech/unimrcp/issues/155/events","html_url":"https://github.com/unispeech/unimrcp/issues/155","id":94387657,"number":155,"title":"MRCPRecog unimrcp + pocketshinx No-Input-Timerout does not work","user":{"login":"achaloyan","id":13278089,"avatar_url":"https://avatars.githubusercontent.com/u/13278089?v=3","gravatar_id":"","url":"https://api.github.com/users/achaloyan","html_url":"https://github.com/achaloyan","followers_url":"https://api.github.com/users/achaloyan/followers","following_url":"https://api.github.com/users/achaloyan/following{/other_user}","gists_url":"https://api.github.com/users/achaloyan/gists{/gist_id}","starred_url":"https://api.github.com/users/achaloyan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/achaloyan/subscriptions","organizations_url":"https://api.github.com/users/achaloyan/orgs","repos_url":"https://api.github.com/users/achaloyan/repos","events_url":"https://api.github.com/users/achaloyan/events{/privacy}","received_events_url":"https://api.github.com/users/achaloyan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/unispeech/unimrcp/labels/Component-PocketSphinx","name":"Component-PocketSphinx","color":"ededed"},{"url":"https://api.github.com/repos/unispeech/unimrcp/labels/OpSys-All","name":"OpSys-All","color":"ededed"},{"url":"https://api.github.com/repos/unispeech/unimrcp/labels/Priority-Medium","name":"Priority-Medium","color":"ededed"},{"url":"https://api.github.com/repos/unispeech/unimrcp/labels/Type-Defect","name":"Type-Defect","color":"ededed"}],"state":"closed","locked":false,"assignee":{"login":"achaloyan","id":13278089,"avatar_url":"https://avatars.githubusercontent.com/u/13278089?v=3","gravatar_id":"","url":"https://api.github.com/users/achaloyan","html_url":"https://github.com/achaloyan","followers_url":"https://api.github.com/users/achaloyan/followers","following_url":"https://api.github.com/users/achaloyan/following{/other_user}","gists_url":"https://api.github.com/users/achaloyan/gists{/gist_id}","starred_url":"https://api.github.com/users/achaloyan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/achaloyan/subscriptions","organizations_url":"https://api.github.com/users/achaloyan/orgs","repos_url":"https://api.github.com/users/achaloyan/repos","events_url":"https://api.github.com/users/achaloyan/events{/privacy}","received_events_url":"https://api.github.com/users/achaloyan/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2015-07-10T20:43:21Z","updated_at":"2015-07-11T04:07:04Z","closed_at":"2015-07-11T04:07:04Z","body":"Originally reported on Google Code with ID 156\n```\nWhat steps will reproduce the problem?\n1. Use MRCPRecog and PocketSphinx in Asterisk setting b=0, and nit\r\n2. Watch output from mrcpserver and you will see the nit in the Recognize command.\r\n3. The mrcp server never processes the nit.\r\n\r\nWhat version of the product are you using? On what operating system?\nLatest version of unimrcp on CentOS 6.3\r\n\r\nPlease provide any additional information below.\n\r\nRunning this MRCPRecog command as follows:\r\nMRCPRecog(/usr/local/unimrcp/data/posneg.jsgf,p=default&t=5000&b=0&nit=5000&ct=0.7&spl=en-US&sit=true&f=prompt)\r\n\r\nYou can see the Rccognize request with the nit set:\r\n\r\n2013-04-13 12:04:42:637295 [INFO]   Receive MRCPv2 Stream 10.220.1.26:1544 <-> 10.220.1.26:47652\n[297 bytes]\r\nMRCP/2.0 297 RECOGNIZE 2\r\nChannel-Identifier: 39e53058a45c11e2@speechrecog\r\nContent-Type: text/uri-list\r\nRecognition-Mode: false\r\nRecognition-Timeout: 5000\r\nConfidence-Threshold: 0.7\r\nSpeech-Language: en-US\r\nStart-Input-Timers: true\r\nNo-Input-Timeout: 5000\r\nContent-Length: 17\r\n\r\nsession:grammar-0\r\n2013-04-13 12:04:42:637387 [INFO]   Process RECOGNIZE Request <39e53058a45c11e2@speechrecog>\n[2]\r\n2013-04-13 12:04:42:637422 [INFO]   Dispatch Request RECOGNIZE <39e53058a45c11e2@pocketsphinx>\r\n2013-04-13 12:04:42:637489 [INFO]   Open Waveform File [/tmp/utter-39e53058a45c11e2-2.pcm]\n<39e53058a45c11e2@pocketsphinx>\r\n2013-04-13 12:04:42:637575 [INFO]   Process RECOGNIZE Response <39e53058a45c11e2@speechrecog>\n[2]\r\n2013-04-13 12:04:42:637586 [INFO]   State Transition IDLE -> RECOGNIZING <39e53058a45c11e2@speechrecog>\r\n2013-04-13 12:04:42:637746 [INFO]   Send MRCPv2 Stream 10.220.1.26:1544 <-> 10.220.1.26:47652\n[83 bytes]\r\nMRCP/2.0 83 2 200 IN-PROGRESS\r\nChannel-Identifier: 39e53058a45c11e2@speechrecog\r\n\r\nBut if there is no audio input, the MRCP Server never times out.  Am I correct in assuming\nthat if the nit is set, the server will at some point timeout, or rather, pocketsphinx\nwould send an nit message to the server saying to discontinue?\r\n\r\nAlso, I found the nit setting in pocketsphinx.xml in the conf directory, it does nothing.\r\n\r\nWould it be better to have asterisk handle the nit instead of pocketsphinx?  Perhaps\npocketsphinx in incapable of performing an nit.\r\n\r\nCan someone point me in the correct direction here please..\r\n\r\nAlso, one quick unrelated question, I see that the client/server ports are fixed, does\nthis mean that unimrcp can only handle one call at a time, or can it handle multiple,\nthx.\r\n\r\n\n```\n\nReported by `damiank244` on 2013-04-13 17:10:46\n"}}