- Joined
- Jan 15, 2018
- Messages
- 3
- Reaction score
- 0
Hello everybody,
For local usage we need our FronEnt Web application call CallTriggerCMD.exe to start dialing in 3cx Windows Phone
I've got a problem with calling CallTriggerCMD.exe from Windows service.
.net core Api Self-hosted script has calling standard command line:
C:\ProgramData\3CXPhone for Windows\PhoneApp>CallTriggerCmd.exe -call 231231121
When I'm running application manually this working perfectly and 3cx Windows Phone application is dialing, therefore when I have from Windows Service for example - http://localhost:5555/api/MakeCall/231231121, I'm getting this error:
System.ServiceModel.EndpointNotFoundException: There was no endpoint listening at net.pipe://localhost/CallTriggerService/e6533f87-9ac6-405f-889b-19eedefc814d that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details. ---> System.IO.PipeException: The pipe endpoint 'net.pipe://localhost/CallTriggerService/e6533f87-9ac6-405f-889b-19eedefc814d' could not be found on your local machine.
--- End of inner exception stack trace ---
Server stack trace:
at System.ServiceModel.Channels.PipeConnectionInitiator.GetPipeName(Uri uri, IPipeTransportFactorySettings transportFactorySettings)
at System.ServiceModel.Channels.NamedPipeConnectionPoolRegistry.NamedPipeConnectionPool.GetPoolKey(EndpointAddress address, Uri via)
at System.ServiceModel.Channels.CommunicationPool`2.TakeConnection(EndpointAddress address, Uri via, TimeSpan timeout, TKey& key)
at System.ServiceModel.Channels.ConnectionPoolHelper.EstablishConnection(TimeSpan timeout)
at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.CallOpenOnce.System.ServiceModel.Channels.ServiceChannel.ICallOnce.Call(ServiceChannel channel, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.CallOnceManager.CallOnce(TimeSpan timeout, CallOnceManager cascade)
at System.ServiceModel.Channels.ServiceChannel.EnsureOpened(TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at TCX.CallTriggerCmd.ICallTriggerService.MakeCall(String destination)
at TCX.CallTriggerCmd.Program.<>c__DisplayClass1_0.<Main>b__1(String destination)
at Mon
ptions.Option.Invoke(OptionContext c)
at Mon
ptions.OptionSet.Parse(String argument, OptionContext c)
at Mon
ptions.OptionSet.Parse(IEnumerable`1 arguments)
at TCX.CallTriggerCmd.Program.Main(String[] args)
What I've tried without success:
1) Run 3cx Windows Phone as administrator
2) Run service as the same User as using 3cx Windows Phone
3) I've checked - no other applications or services using the 5555 port
4) Reinstalled 3cx Windows Phone
5) I've checked Net.Pipe Listener Adapter is running(restarted him)
6) I've checked - 3cx has Pro licence
7) I've even reinstalled Windows
I'm really struggling with this problem, anyone could help me?
For local usage we need our FronEnt Web application call CallTriggerCMD.exe to start dialing in 3cx Windows Phone
I've got a problem with calling CallTriggerCMD.exe from Windows service.
.net core Api Self-hosted script has calling standard command line:
C:\ProgramData\3CXPhone for Windows\PhoneApp>CallTriggerCmd.exe -call 231231121
When I'm running application manually this working perfectly and 3cx Windows Phone application is dialing, therefore when I have from Windows Service for example - http://localhost:5555/api/MakeCall/231231121, I'm getting this error:
System.ServiceModel.EndpointNotFoundException: There was no endpoint listening at net.pipe://localhost/CallTriggerService/e6533f87-9ac6-405f-889b-19eedefc814d that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details. ---> System.IO.PipeException: The pipe endpoint 'net.pipe://localhost/CallTriggerService/e6533f87-9ac6-405f-889b-19eedefc814d' could not be found on your local machine.
--- End of inner exception stack trace ---
Server stack trace:
at System.ServiceModel.Channels.PipeConnectionInitiator.GetPipeName(Uri uri, IPipeTransportFactorySettings transportFactorySettings)
at System.ServiceModel.Channels.NamedPipeConnectionPoolRegistry.NamedPipeConnectionPool.GetPoolKey(EndpointAddress address, Uri via)
at System.ServiceModel.Channels.CommunicationPool`2.TakeConnection(EndpointAddress address, Uri via, TimeSpan timeout, TKey& key)
at System.ServiceModel.Channels.ConnectionPoolHelper.EstablishConnection(TimeSpan timeout)
at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.CallOpenOnce.System.ServiceModel.Channels.ServiceChannel.ICallOnce.Call(ServiceChannel channel, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.CallOnceManager.CallOnce(TimeSpan timeout, CallOnceManager cascade)
at System.ServiceModel.Channels.ServiceChannel.EnsureOpened(TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at TCX.CallTriggerCmd.ICallTriggerService.MakeCall(String destination)
at TCX.CallTriggerCmd.Program.<>c__DisplayClass1_0.<Main>b__1(String destination)
at Mon
at Mon
at Mon
at TCX.CallTriggerCmd.Program.Main(String[] args)
What I've tried without success:
1) Run 3cx Windows Phone as administrator
2) Run service as the same User as using 3cx Windows Phone
3) I've checked - no other applications or services using the 5555 port
4) Reinstalled 3cx Windows Phone
5) I've checked Net.Pipe Listener Adapter is running(restarted him)
6) I've checked - 3cx has Pro licence
7) I've even reinstalled Windows
I'm really struggling with this problem, anyone could help me?