Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0006316opensim[REGION] Specific OpenSim Modulepublic2012-09-24 11:592012-09-24 15:48
Reporterluxleet 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusnewResolutionopen 
PlatformOpensim.exeOSWindowsOS Version
Product Version 
Target VersionFixed in Version 
Summary0006316: FreeSwitch is unable to start
DescriptionI have configured free switch a lot of times just to try to get it to work but it wont give a response to the opensim.exe nor to the robust.exe once i checked to logs to confirm that everything was running fine i saw that the only error i have is this:

2012-09-24 13:05:29,034 DEBUG - OpenSim.Services.Connectors.RemoteFreeswitchConnector [FREESWITCH CONNECTOR]: Requesting config from http://MY-IP:8004/api/region-config [^]
2012-09-24 13:05:29,322 DEBUG - OpenSim.Framework.SynchronousRestFormsRequester [FORMS]: InvalidOperationException on receiving GET http://My-IP:8004/api/region-config [^]
2012-09-24 13:05:29,406 ERROR - OpenSim.Region.OptionalModules.Avatar.Voice.FreeSwitchVoice.FreeSwitchVoiceModule [FreeSwitchVoice]: plugin initialization failed: Unable to cast object of type 'OpenMetaverse.StructuredData.OSD' to type 'OpenMetaverse.StructuredData.OSDMap'. at OpenSim.Region.OptionalModules.Avatar.Voice.FreeSwitchVoice.FreeSwitchVoiceModule.Initialise(IConfigSource config)

i tried to Google different parts of it and came with back with nothing usefull or even something that could give me a small clue why this error is occurring.

i was hoping that on here someone would know why this error is coming up and if it is possible to fix it.

Geetz and much thanks
LUX
Tagsfree switch, service, voice
Git Revision or version number
Run Mode Grid (1 Region per Sim)
Physics EngineBasicPhysics
Environment.NET / Windows64
Mono VersionNone
Viewer
Attached Files

- Relationships

-  Notes
(0022675)
SignpostMarv (reporter)
2012-09-24 12:03

perusal of the code suggest there is something about jsonConfig that cannot be typecast to OSDMap.

Does "[FREESWITCH CONNECTOR]: Requesting config from" pop up in the log just before the error ?

Oddly, the local version of the method is building an OSDMap.
(0022678)
luxleet (reporter)
2012-09-24 13:15

ok i fixed the above i think as the error does not come any more i changed "api" to "fsapi" and it responded correctly, now however i do get a error message from freeswich (so i do know it does request something)

it says is dark purple:

2012-09-24 14:02:14.08914 [WARNING] sofia_reg.c:2452 Can't find user [xPwMZ3MVeSQC8XD5ucVMnsw==@MY-IP]
You must define a domain called 'MY-IP' in your dictory and add a user with the id="xPwMZ3MVeSQC8XD5ucVMnsw==" attribute
and must configure your device to use the proper domain in sit's authentication credentials

i have NO IDEA what it means by that and since there is nothing about it on a opensim page about this procedure i'm quite lost with this, even though i understand it more or less
(0022679)
SignpostMarv (reporter)
2012-09-24 13:21

I'm going to hazard a guess that somewhere in the free-switch config is an option being left at default of "MY-IP" instead of whatever the IP/domain name should be ?
(0022680)
luxleet (reporter)
2012-09-24 13:25

but there are only 2 lines where you need to change it to your robust IP and port which are these:

<configuration name="xml_curl.conf" description="cURL XML Gateway">
<bindings>
   <binding name="directory">
           <param name="gateway-url" value="http://localhost:9000/api/freeswitch-config" [^] bindings="directory"/>
           <param name="gateway-credentials" value="freeswitch:password"/>
           <param name="disable-100-continue" value="true"/>
   </binding>
   <binding name="dialplan">
           <param name="gateway-url" value="http://localhost:9000/api/freeswitch-config" [^] bindings="dialplan"/>
           <param name="gateway-credentials" value="freeswitch:password"/>
           <param name="disable-100-continue" value="true"/>
   </binding>
</bindings>
</configuration>

and they say on the site it needs to be changed (both not one), i will try land change one at a time to localhost and give you an update on what happened and if it worked in the grid
(0022681)
luxleet (reporter)
2012-09-24 13:38

no matter what i change in the config the message stays the same and voice stays deactivated on the grid
(0022683)
luxleet (reporter)
2012-09-24 15:48

ok i fixed the issue a bove (just need to add a user value), but now it keeps ending/hanging up by it self it never actually says its connected because it keeps hanging up.

- Issue History
Date Modified Username Field Change
2012-09-24 11:59 luxleet New Issue
2012-09-24 12:01 luxleet Tag Attached: free switch
2012-09-24 12:01 luxleet Tag Attached: service
2012-09-24 12:01 luxleet Tag Attached: voice
2012-09-24 12:03 SignpostMarv Note Added: 0022675
2012-09-24 12:24 luxleet Category [GRID] Grid Service => [REGION] Specific OpenSim Module
2012-09-24 12:26 luxleet Description Updated View Revisions
2012-09-24 13:15 luxleet Note Added: 0022678
2012-09-24 13:21 SignpostMarv Note Added: 0022679
2012-09-24 13:25 luxleet Note Added: 0022680
2012-09-24 13:38 luxleet Note Added: 0022681
2012-09-24 13:39 luxleet Note Added: 0022682
2012-09-24 15:46 luxleet Note Deleted: 0022682
2012-09-24 15:48 luxleet Note Added: 0022683


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker