Hi,
I am facing a problem concerning Simulator G3 PBX. I have successfully installed all the framework components(dbserver, config server, etc.). I can start/stop them without any problem.
When I try to launch the G3 PBX, I got the following message :
Can’t create equip from Cfg Server: can’t open cfg-server for async client
Type any key to exit …
Does anyone know what should I do to connect to the config server ?
Thanks for your help.
Notes: Following are the command and result:
command:
C:\GenSim2006\TestSim>n_simg3 -host localhost -port 7020 -sw madridswitch -ts ma
your ConfigServer is running on localhost port 7020
your switch name in CME is madridswitch
your tserver name is mamadridtserver
If this is all correct (specifically the port of your Config Server)…is there really the carriage return in the BAT file and pls post an export of the annex tab for the madridswitch.
Yes this is all correct (the tserver is named madridtserver). The localhost is also “gene2” in this command, because the BAT file is located and launch from “gene2”. The result was the same even using “gene2” instead of “localhost”.
In the BAT file, there is not the carriage return as it appears in the report I have posted first.
The following is the simulator section in the annex tab:
[Simulator]
console-port=17001
cti-protocol-mode=g3
entry-point00=2000,18002000,0.25
entry-point01=2001
entry-point02=2002
entry-point03=2003
hostname=gene2
port=17000
probability-answer=0.51
probability-no-answer=0.35
queue-tout=30
ringing-tout=30
start-call-id=500
start-trunk-num=1000
step_call-id=6
trunk-num-range=16
More details in the file uploaded (madridswitch.cfg and madridtserver.cfg).
No the config server is running on another host (gene1).
The following is my config:
on host “gene1”: cfg-dbserver, confserv, msgserver_log, scs_pri, sci, sce, logdbserver
on host “gene2”: madridswitch, madridtserver, msgserver_urs, scs_bck
from gene1, I can ping gene2. And from gene2, I can ping Gene1.
From Gene1, using SCI, I can start applications hosted by Gene2, even madridtserver and madridswitch. SCI shows the status “Started”. But as madridswitch is concerned, on Gene2, the process n_simg3 is running but the following error appears “Can’t create equip from Cfg Server: can’t open cfg-server for async client”
First of all, is really config server listening on port 7020? If yes, could you check your config server logfile whether you can see there attempts to connect from simulator? Or post the log here. Additionally you could add to your command line these options
-user default -clapp default
I confirm the config server listens on port 7020.
I have checked config server log file. The application named pbx_madrid does try to connect to config server, but feld to get authorization. Reason depends on values of parameters used in command line (user, pass, clapp, app, etc). Among these reasons we can find: “Application not found”, “Application type doesn’t match”, etc.
Note: The Application type of pbx_madrid is Third party server.
Note: pbx_madrid is a third application server I have defined in CME and which help stat/stop the G3 PBX using SCI. pbx_madrid is like a BAT file.
if I replace -app=“default” the result is the following error: “Application not found”,
If I replace -app=“pbx_madrid”, the result is: “Application type doesn’t match”.
What should be the Application type of pbx_madrid ?
Hi,
Eveything is Ok now. The error came from the command line arguments. It is necessary to provide -pass and -clapp options. Otherwise it will result in an error.
here is the information that should be provided;
n_simg3.exe -host <cfgsrv_host> -port <cfgsrv_port> -sw <CME_switch_name> -ts <CME_tsrv_name> -pass <CME_user_password> -clapp <CME_name> -user <CME_user_name>
The command line I should have typed is the following: