Problem running the UniMRCP client application

54 views
Skip to first unread message

Carmen DiCamillo

unread,
Feb 2, 2023, 2:14:25 PM2/2/23
to UniMRCP
I have built a dedicated UniMRCP server at AWS using apt-get, on a Ubuntu 18.04 machine.
When I execute the ./unimrcpserver command no errors are displayed.  However, if I execute the ./umc command an error is presented:

Wait for Messages [MRCP Client]
nta: bind(10.180.0.206:8062;transport=udp): Cannot assign requested address
nua: initializing SIP stack failed

This is a dedicated box so Asterisk is not running and there is nothing else bound to the port.

Any help would be appreciated.

Full log:

2023-02-02 19:04:06:322902 [INFO]   Start Task [Framework Agent]
>2023-02-02 19:04:06:323081 [DEBUG]  Task Started [Framework Agent]
2023-02-02 19:04:06:323102 [NOTICE] UniMRCP Client [1.7.0]
2023-02-02 19:04:06:323110 [INFO]   APR [1.5.2]
2023-02-02 19:04:06:323176 [NOTICE] Create MRCP Client
2023-02-02 19:04:06:323198 [NOTICE] Open Config File [/opt/unimrcp/conf/unimrcpclient.xml]
2023-02-02 19:04:06:323341 [DEBUG]  Loading Properties
2023-02-02 19:04:06:323353 [DEBUG]  Loading Element <ip>
2023-02-02 19:04:06:323356 [DEBUG]  Get IP Address by Interface [eth0]
2023-02-02 19:04:06:323477 [WARN]   No Such Interface Found [eth0]
2023-02-02 19:04:06:323488 [INFO]   Set Property ip:127.0.0.1
2023-02-02 19:04:06:323491 [DEBUG]  Loading Element <ip>
2023-02-02 19:04:06:323495 [INFO]   Set Property ip:10.180.0.206
2023-02-02 19:04:06:323498 [DEBUG]  Loading Element <ext-ip>
2023-02-02 19:04:06:323503 [INFO]   Set Property ext-ip:18.235.122.136
2023-02-02 19:04:06:323513 [INFO]   Register Codec [PCMU]
2023-02-02 19:04:06:323521 [INFO]   Register Codec [PCMA]
2023-02-02 19:04:06:323526 [INFO]   Register Codec [L16]
2023-02-02 19:04:06:323532 [DEBUG]  Loading Components
2023-02-02 19:04:06:323540 [DEBUG]  Loading Resources
2023-02-02 19:04:06:323738 [NOTICE] Register Resource [speechsynth]
2023-02-02 19:04:06:323748 [NOTICE] Register Resource [speechrecog]
2023-02-02 19:04:06:323755 [NOTICE] Register Resource [recorder]
2023-02-02 19:04:06:323758 [NOTICE] Register Resource [speakverify]
2023-02-02 19:04:06:323765 [INFO]   Register Resource Factory
2023-02-02 19:04:06:323772 [DEBUG]  Loading SofiaSIP Agent <SIP-Agent-1>
2023-02-02 19:04:06:323778 [DEBUG]  Loading Element <sip-port>
2023-02-02 19:04:06:323786 [DEBUG]  Loading Element <sip-transport>
2023-02-02 19:04:06:323792 [DEBUG]  Loading Element <ua-name>
2023-02-02 19:04:06:323800 [DEBUG]  Loading Element <sdp-origin>
2023-02-02 19:04:06:323809 [NOTICE] Create SofiaSIP Agent [SIP-Agent-1] [1.12.11-239-g54ef3e2] sip:10.180.0.206:8062;transport=udp
2023-02-02 19:04:06:323818 [INFO]   Register Signaling Agent [SIP-Agent-1]
2023-02-02 19:04:06:323825 [DEBUG]  Loading UniRTSP Agent <RTSP-Agent-1>
2023-02-02 19:04:06:323832 [DEBUG]  Loading Element <max-connection-count>
2023-02-02 19:04:06:323838 [DEBUG]  Loading Element <sdp-origin>
2023-02-02 19:04:06:323845 [NOTICE] Create RTSP Client [RTSP-Agent-1] [100]
2023-02-02 19:04:06:323880 [INFO]   Register Signaling Agent [RTSP-Agent-1]
2023-02-02 19:04:06:323885 [DEBUG]  Loading MRCPv2 Agent <MRCPv2-Agent-1>
2023-02-02 19:04:06:323889 [DEBUG]  Loading Element <max-connection-count>
2023-02-02 19:04:06:323892 [DEBUG]  Loading Element <max-shared-use-count>
2023-02-02 19:04:06:323898 [DEBUG]  Loading Element <offer-new-connection>
2023-02-02 19:04:06:323905 [DEBUG]  Loading Element <rx-buffer-size>
2023-02-02 19:04:06:323912 [DEBUG]  Loading Element <tx-buffer-size>
2023-02-02 19:04:06:323919 [NOTICE] Create MRCPv2 Agent [MRCPv2-Agent-1] [100]
2023-02-02 19:04:06:323944 [INFO]   Register Connection Agent [MRCPv2-Agent-1]
2023-02-02 19:04:06:323950 [DEBUG]  Loading Media Engine <Media-Engine-1>
2023-02-02 19:04:06:323953 [DEBUG]  Loading Element <realtime-rate>
2023-02-02 19:04:06:323957 [NOTICE] Create Media Engine [Media-Engine-1]
2023-02-02 19:04:06:323966 [INFO]   Register Media Engine [Media-Engine-1]
2023-02-02 19:04:06:323973 [DEBUG]  Loading RTP Factory <RTP-Factory-1>
2023-02-02 19:04:06:323979 [DEBUG]  Loading Element <rtp-port-min>
2023-02-02 19:04:06:323986 [DEBUG]  Loading Element <rtp-port-max>
2023-02-02 19:04:06:323993 [NOTICE] Create RTP Termination Factory 10.180.0.206:[4000,5000]
2023-02-02 19:04:06:324000 [INFO]   Register RTP Termination Factory [RTP-Factory-1]
2023-02-02 19:04:06:324007 [DEBUG]  Loading Settings
2023-02-02 19:04:06:324014 [DEBUG]  Loading RTP Settings <RTP-Settings-1>
2023-02-02 19:04:06:324020 [DEBUG]  Loading Element <jitter-buffer>
2023-02-02 19:04:06:324026 [DEBUG]  Loading Jitter Buffer Settings
2023-02-02 19:04:06:324033 [DEBUG]  Loading Element <adaptive>
2023-02-02 19:04:06:324039 [DEBUG]  Loading Element <playout-delay>
2023-02-02 19:04:06:324046 [DEBUG]  Loading Element <max-playout-delay>
2023-02-02 19:04:06:324053 [DEBUG]  Loading Element <time-skew-detection>
2023-02-02 19:04:06:324059 [DEBUG]  Loading Element <ptime>
2023-02-02 19:04:06:324065 [DEBUG]  Loading Element <codecs>
2023-02-02 19:04:06:324075 [DEBUG]  Loading Element <rtcp>
2023-02-02 19:04:06:324082 [INFO]   Register RTP Settings [RTP-Settings-1]
2023-02-02 19:04:06:324089 [INFO]   Enter Directory [/opt/unimrcp/conf/client-profiles]
2023-02-02 19:04:06:324131 [NOTICE] Open Config File [/opt/unimrcp/conf/client-profiles/unimrcp.xml]
2023-02-02 19:04:06:324220 [DEBUG]  Loading Settings
2023-02-02 19:04:06:324229 [DEBUG]  Loading SIP Settings <UniMRCP-SIP-Settings>
2023-02-02 19:04:06:324232 [DEBUG]  Loading Element <server-ip>
2023-02-02 19:04:06:324235 [DEBUG]  Loading Element <server-port>
2023-02-02 19:04:06:324242 [INFO]   Create SIP Settings 10.180.0.221:8060
2023-02-02 19:04:06:329665 [INFO]   Register Signaling Settings [UniMRCP-SIP-Settings]
2023-02-02 19:04:06:330400 [DEBUG]  Loading RTSP Settings <UniMRCP-RTSP-Settings>
2023-02-02 19:04:06:330412 [DEBUG]  Loading Element <server-port>
2023-02-02 19:04:06:330419 [DEBUG]  Loading Element <resource-location>
2023-02-02 19:04:06:330426 [DEBUG]  Loading Element <resource-map>
2023-02-02 19:04:06:330431 [DEBUG]  Loading Resource Map
2023-02-02 19:04:06:330435 [DEBUG]  Loading Param speechsynth:speechsynthesizer
2023-02-02 19:04:06:330447 [DEBUG]  Loading Param speechrecog:speechrecognizer
2023-02-02 19:04:06:330456 [INFO]   Create RTSP Settings 10.180.0.206:1554
2023-02-02 19:04:06:330463 [INFO]   Register Signaling Settings [UniMRCP-RTSP-Settings]
2023-02-02 19:04:06:330470 [DEBUG]  Loading Profiles
2023-02-02 19:04:06:330477 [DEBUG]  Loading MRCPv2 Profile <uni2>
2023-02-02 19:04:06:330484 [DEBUG]  Loading Element <sip-uac>
2023-02-02 19:04:06:330492 [DEBUG]  Loading Element <mrcpv2-uac>
2023-02-02 19:04:06:331057 [DEBUG]  Loading Element <media-engine>
2023-02-02 19:04:06:331313 [DEBUG]  Loading Element <rtp-factory>
2023-02-02 19:04:06:331323 [DEBUG]  Loading Element <sip-settings>
2023-02-02 19:04:06:331330 [DEBUG]  Loading Element <rtp-settings>
2023-02-02 19:04:06:331338 [NOTICE] Create MRCPv2 Profile [uni2]
2023-02-02 19:04:06:331349 [INFO]   Register Profile [uni2]
2023-02-02 19:04:06:331356 [DEBUG]  Loading MRCPv1 Profile <uni1>
2023-02-02 19:04:06:331363 [DEBUG]  Loading Element <rtsp-uac>
2023-02-02 19:04:06:331371 [DEBUG]  Loading Element <media-engine>
2023-02-02 19:04:06:331377 [DEBUG]  Loading Element <rtp-factory>
2023-02-02 19:04:06:331384 [DEBUG]  Loading Element <rtsp-settings>
2023-02-02 19:04:06:331391 [DEBUG]  Loading Element <rtp-settings>
2023-02-02 19:04:06:331397 [NOTICE] Create MRCPv1 Profile [uni1]
2023-02-02 19:04:06:331403 [INFO]   Register Profile [uni1]
2023-02-02 19:04:06:331432 [INFO]   Leave Directory [/opt/unimrcp/conf]
2023-02-02 19:04:06:331439 [NOTICE] Create Application
2023-02-02 19:04:06:331442 [INFO]   Register Application [UMC]
2023-02-02 19:04:06:331449 [INFO]   Start Task [MRCP Client]
2023-02-02 19:04:06:332140 [INFO]   Start Task [SIP-Agent-1]
2023-02-02 19:04:06:332303 [INFO]   Start Task [RTSP-Agent-1]
2023-02-02 19:04:06:332467 [INFO]   Start Task [MRCPv2-Agent-1]
2023-02-02 19:04:06:333366 [INFO]   Start Task [Media-Engine-1]
2023-02-02 19:04:06:333393 [DEBUG]  Task Started [MRCPv2-Agent-1]
2023-02-02 19:04:06:333473 [DEBUG]  Signal Message to [MRCP Client] [0x7f8f88000b20;0;1]
2023-02-02 19:04:06:333488 [DEBUG]  Wait for Messages [MRCPv2-Agent-1]
2023-02-02 19:04:06:333680 [DEBUG]  Task Started [Media-Engine-1]
2023-02-02 19:04:06:333790 [DEBUG]  Signal Message to [MRCP Client] [0x7f8f98009060;0;1]
2023-02-02 19:04:06:333893 [DEBUG]  Wait for Messages [MRCP Client]
2023-02-02 19:04:06:333940 [DEBUG]  Process Message [MRCP Client] [0x7f8f88000b20;0;1]
2023-02-02 19:04:06:334297 [DEBUG]  Wait for Messages [MRCP Client]
2023-02-02 19:04:06:334477 [DEBUG]  Process Message [MRCP Client] [0x7f8f98009060;0;1]
2023-02-02 19:04:06:334650 [DEBUG]  Wait for Messages [MRCP Client]
nta: bind(10.180.0.206:8062;transport=udp): Cannot assign requested address
nua: initializing SIP stack failed
2023-02-02 19:04:06:334773 [WARN]   Failed to Create NUA [SIP-Agent-1]
2023-02-02 19:04:06:334787 [DEBUG]  Task Started [RTSP-Agent-1]
2023-02-02 19:04:06:334801 [DEBUG]  Signal Message to [MRCP Client] [0x7f8f900023f0;0;1]
2023-02-02 19:04:06:334818 [DEBUG]  Wait for Messages [RTSP-Agent-1]
2023-02-02 19:04:06:334788 [DEBUG]  Task Started [SIP-Agent-1]
2023-02-02 19:04:06:335358 [DEBUG]  Signal Message to [MRCP Client] [0x7f8f90001a80;0;1]
2023-02-02 19:04:06:335378 [WARN]   Failed to Run Sofia-SIP Task
2023-02-02 19:04:06:335446 [DEBUG]  Process Message [MRCP Client] [0x7f8f900023f0;0;1]
2023-02-02 19:04:06:335643 [DEBUG]  Wait for Messages [MRCP Client]
2023-02-02 19:04:06:335695 [DEBUG]  Process Message [MRCP Client] [0x7f8f90001a80;0;1]
2023-02-02 19:04:06:335729 [DEBUG]  Task Started [MRCP Client]
2023-02-02 19:04:06:335760 [NOTICE] MRCP Client Started
2023-02-02 19:04:06:335804 [INFO]   Enter Directory [/opt/unimrcp/conf/umc-scenarios]
2023-02-02 19:04:06:335853 [DEBUG]  Open Scenario File [/opt/unimrcp/conf/umc-scenarios/recogparams.xml]
2023-02-02 19:04:06:335895 [INFO]   Load Scenario Name [params] Class [Params]
2023-02-02 19:04:06:335907 [DEBUG]  Open Scenario File [/opt/unimrcp/conf/umc-scenarios/bss1.xml]
2023-02-02 19:04:06:335950 [INFO]   Load Scenario Name [bss1] Class [Synthesizer]
2023-02-02 19:04:06:335968 [DEBUG]  Load File Content size [158 bytes] /opt/unimrcp/data/speak.xml
2023-02-02 19:04:06:335982 [DEBUG]  Open Scenario File [/opt/unimrcp/conf/umc-scenarios/lex1.xml]
2023-02-02 19:04:06:336022 [INFO]   Load Scenario Name [lex1] Class [Recognizer]
2023-02-02 19:04:06:336037 [DEBUG]  Load File Content size [25 bytes] /opt/unimrcp/data/speechtranscribe.txt
2023-02-02 19:04:06:336049 [DEBUG]  Open Scenario File [/opt/unimrcp/conf/umc-scenarios/recorder.xml]
2023-02-02 19:04:06:336082 [INFO]   Load Scenario Name [rec] Class [Recorder]
2023-02-02 19:04:06:336091 [DEBUG]  Open Scenario File [/opt/unimrcp/conf/umc-scenarios/gsr2.xml]
2023-02-02 19:04:06:336124 [INFO]   Load Scenario Name [gsr2] Class [Recognizer]
2023-02-02 19:04:06:336137 [DEBUG]  Load File Content size [154 bytes] /opt/unimrcp/data/speechcontext.xml
2023-02-02 19:04:06:336149 [DEBUG]  Open Scenario File [/opt/unimrcp/conf/umc-scenarios/ps2.xml]
2023-02-02 19:04:06:336183 [INFO]   Load Scenario Name [ps2] Class [Recognizer]
2023-02-02 19:04:06:336197 [DEBUG]  Load File Content size [420 bytes] /opt/unimrcp/data/command.jsgf
2023-02-02 19:04:06:336209 [DEBUG]  Open Scenario File [/opt/unimrcp/conf/umc-scenarios/dtmfrecognizer.xml]
2023-02-02 19:04:06:336251 [INFO]   Load Scenario Name [dtmf] Class [DtmfRecognizer]
2023-02-02 19:04:06:336261 [DEBUG]  Open Scenario File [/opt/unimrcp/conf/umc-scenarios/j2.xml]
2023-02-02 19:04:06:336293 [INFO]   Load Scenario Name [j2] Class [Recognizer]
2023-02-02 19:04:06:336305 [DEBUG]  Load File Content size [22 bytes] /opt/unimrcp/data/jgrammar.list
2023-02-02 19:04:06:336318 [DEBUG]  Open Scenario File [/opt/unimrcp/conf/umc-scenarios/gsr3.xml]
2023-02-02 19:04:06:336354 [INFO]   Load Scenario Name [gsr3] Class [DtmfRecognizer]
2023-02-02 19:04:06:336363 [DEBUG]  Open Scenario File [/opt/unimrcp/conf/umc-scenarios/ps1.xml]
2023-02-02 19:04:06:337910 [INFO]   Load Scenario Name [ps1] Class [Recognizer]
2023-02-02 19:04:06:337945 [DEBUG]  Load File Content size [420 bytes] /opt/unimrcp/data/command.jsgf
2023-02-02 19:04:06:337960 [DEBUG]  Open Scenario File [/opt/unimrcp/conf/umc-scenarios/tsr1.xml]
2023-02-02 19:04:06:338009 [DEBUG]  Wait for Messages [MRCP Client]
2023-02-02 19:04:06:338013 [INFO]   Load Scenario Name [tsr1] Class [Recognizer]
2023-02-02 19:04:06:338092 [DEBUG]  Load File Content size [25 bytes] /opt/unimrcp/data/speechtranscribe.txt
2023-02-02 19:04:06:338115 [DEBUG]  Open Scenario File [/opt/unimrcp/conf/umc-scenarios/bss2.xml]
2023-02-02 19:04:06:338169 [INFO]   Load Scenario Name [bss2] Class [Synthesizer]
2023-02-02 19:04:06:338185 [DEBUG]  Load File Content size [20 bytes] /opt/unimrcp/data/speak.txt
2023-02-02 19:04:06:338196 [DEBUG]  Open Scenario File [/opt/unimrcp/conf/umc-scenarios/recognizer.xml]
2023-02-02 19:04:06:338777 [INFO]   Load Scenario Name [recog] Class [Recognizer]
2023-02-02 19:04:06:338804 [DEBUG]  Load File Content size [269 bytes] /opt/unimrcp/data/grammar.xml
2023-02-02 19:04:06:338819 [DEBUG]  Open Scenario File [/opt/unimrcp/conf/umc-scenarios/synthesizer.xml]
2023-02-02 19:04:06:339114 [INFO]   Load Scenario Name [synth] Class [Synthesizer]
2023-02-02 19:04:06:339137 [DEBUG]  Load File Content size [158 bytes] /opt/unimrcp/data/speak.xml
2023-02-02 19:04:06:339151 [DEBUG]  Open Scenario File [/opt/unimrcp/conf/umc-scenarios/bss3.xml]
2023-02-02 19:04:06:339684 [INFO]   Load Scenario Name [bss3] Class [Synthesizer]
2023-02-02 19:04:06:339708 [DEBUG]  Load File Content size [20 bytes] /opt/unimrcp/data/speak.txt
2023-02-02 19:04:06:339734 [DEBUG]  Open Scenario File [/opt/unimrcp/conf/umc-scenarios/j1.xml]
2023-02-02 19:04:06:340205 [INFO]   Load Scenario Name [j1] Class [Recognizer]
2023-02-02 19:04:06:340229 [DEBUG]  Load File Content size [22 bytes] /opt/unimrcp/data/jgrammar.list
2023-02-02 19:04:06:340249 [DEBUG]  Open Scenario File [/opt/unimrcp/conf/umc-scenarios/gv3.xml]
2023-02-02 19:04:06:340305 [INFO]   Load Scenario Name [gv3] Class [Recognizer]
2023-02-02 19:04:06:340597 [DEBUG]  Load File Content size [41 bytes] /opt/unimrcp/data/speechlanguageid.txt
2023-02-02 19:04:06:340620 [DEBUG]  Open Scenario File [/opt/unimrcp/conf/umc-scenarios/gv4.xml]
2023-02-02 19:04:06:341257 [INFO]   Load Scenario Name [gv4] Class [Recognizer]
2023-02-02 19:04:06:341280 [DEBUG]  Load File Content size [47 bytes] /opt/unimrcp/data/speechtelephony.txt
2023-02-02 19:04:06:341294 [DEBUG]  Open Scenario File [/opt/unimrcp/conf/umc-scenarios/gsr1.xml]
2023-02-02 19:04:06:341348 [INFO]   Load Scenario Name [gsr1] Class [Recognizer]
2023-02-02 19:04:06:341362 [DEBUG]  Load File Content size [25 bytes] /opt/unimrcp/data/speechtranscribe.txt
2023-02-02 19:04:06:341376 [DEBUG]  Open Scenario File [/opt/unimrcp/conf/umc-scenarios/gv2.xml]
2023-02-02 19:04:06:341603 [INFO]   Load Scenario Name [gv2] Class [Recognizer]
2023-02-02 19:04:06:341625 [DEBUG]  Load File Content size [40 bytes] /opt/unimrcp/data/speechemotionid.txt
2023-02-02 19:04:06:341648 [DEBUG]  Open Scenario File [/opt/unimrcp/conf/umc-scenarios/bsr1.xml]
2023-02-02 19:04:06:341694 [INFO]   Load Scenario Name [bsr1] Class [Recognizer]
2023-02-02 19:04:06:341708 [DEBUG]  Load File Content size [25 bytes] /opt/unimrcp/data/speechtranscribe.txt
2023-02-02 19:04:06:341721 [DEBUG]  Open Scenario File [/opt/unimrcp/conf/umc-scenarios/verifier.xml]
2023-02-02 19:04:06:342639 [INFO]   Load Scenario Name [verify] Class [Verifier]
2023-02-02 19:04:06:342656 [DEBUG]  Open Scenario File [/opt/unimrcp/conf/umc-scenarios/gdf1.xml]
2023-02-02 19:04:06:342703 [INFO]   Load Scenario Name [gdf1] Class [Recognizer]
2023-02-02 19:04:06:342718 [DEBUG]  Load File Content size [25 bytes] /opt/unimrcp/data/speechtranscribe.txt
2023-02-02 19:04:06:342732 [DEBUG]  Open Scenario File [/opt/unimrcp/conf/umc-scenarios/gv1.xml]
2023-02-02 19:04:06:342784 [INFO]   Load Scenario Name [gv1] Class [Recognizer]
2023-02-02 19:04:06:342798 [DEBUG]  Load File Content size [39 bytes] /opt/unimrcp/data/speechgenderid.txt
2023-02-02 19:04:06:342811 [DEBUG]  Open Scenario File [/opt/unimrcp/conf/umc-scenarios/bsr2.xml]
2023-02-02 19:04:06:342850 [INFO]   Load Scenario Name [bsr2] Class [DtmfRecognizer]
2023-02-02 19:04:06:342909 [DEBUG]  Wait for Messages [Framework Agent]

Arsen Chaloyan

unread,
Feb 21, 2023, 8:13:49 PM2/21/23
to uni...@googlegroups.com
The issue was resolved offline. The problem was in the configuration settings of the network interface used for binding.

--
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/e7c851eb-adc0-44fc-9461-5a4fcf3299ddn%40googlegroups.com.


--
Arsen Chaloyan
Author of UniMRCP
http://www.unimrcp.org
Reply all
Reply to author
Forward
0 new messages