Cloud PBX connection Issue with new VoIP Notification Agent

Hi everyone,

I’m trying to hook up a new VoIP notification agent with a PBX service in the cloud but I’m getting the errors stated in the attached log file. I cant’ manage to figure out what’s going wrong.

ignition_logs.idb (472 KB)

INFO   | 2019/01/23 04:57:27 | [alarm.Notification.Voice.CallManager.Agent] starting user agent [myAddress: 192.168.40.1, sipPort: 5060, userpart: 953012, domain: eu.sip.ssl7.net]
INFO   | 2019/01/23 04:57:27 | [alarm.Notification.Voice.CallManager.Agent] added datagram socket 192.168.40.1:5060/UDP
INFO   | 2019/01/23 04:57:27 | [alarm.Notification.Voice.CallManager.Agent] added 192.168.40.1:5060/UDP: net.sourceforge.peers.sip.transport.UdpMessageReceiver@4441f38a to message receivers
INFO   | 2019/01/23 04:57:27 | [alarm.Notification.Sip.VoIPstudio] Sip notification profile started successfully.
ERROR  | 2019/01/23 04:57:28 | [alarm.Notification.Voice.CallManager.Agent] Network is unreachable: Datagram send failed
ERROR  | 2019/01/23 04:57:28 | java.net.SocketException: Network is unreachable: Datagram send failed
ERROR  | 2019/01/23 04:57:28 | 	at java.net.DualStackPlainDatagramSocketImpl.socketSend(Native Method)
ERROR  | 2019/01/23 04:57:28 | 	at java.net.DualStackPlainDatagramSocketImpl.send(Unknown Source)
ERROR  | 2019/01/23 04:57:28 | 	at java.net.DatagramSocket.send(Unknown Source)
ERROR  | 2019/01/23 04:57:28 | 	at net.sourceforge.peers.sip.transport.UdpMessageSender.sendBytes(UdpMessageSender.java:63)
ERROR  | 2019/01/23 04:57:28 | 	at net.sourceforge.peers.sip.transport.MessageSender$KeepAlive.run(MessageSender.java:95)
ERROR  | 2019/01/23 04:57:28 | 	at java.util.TimerThread.mainLoop(Unknown Source)
ERROR  | 2019/01/23 04:57:28 | 	at java.util.TimerThread.run(Unknown Source)
ERROR  | 2019/01/23 04:57:28 | [alarm.Notification.Voice.CallManager.Agent] input/output error
ERROR  | 2019/01/23 04:57:28 | java.net.SocketException: Network is unreachable: Datagram send failed
ERROR  | 2019/01/23 04:57:28 | 	at java.net.DualStackPlainDatagramSocketImpl.socketSend(Native Method)
ERROR  | 2019/01/23 04:57:28 | 	at java.net.DualStackPlainDatagramSocketImpl.send(Unknown Source)
ERROR  | 2019/01/23 04:57:28 | 	at java.net.DatagramSocket.send(Unknown Source)
ERROR  | 2019/01/23 04:57:28 | 	at net.sourceforge.peers.sip.transport.UdpMessageSender.sendBytes(UdpMessageSender.java:63)
ERROR  | 2019/01/23 04:57:28 | 	at net.sourceforge.peers.sip.transport.UdpMessageSender.sendMessage(UdpMessageSender.java:52)
ERROR  | 2019/01/23 04:57:28 | 	at net.sourceforge.peers.sip.transaction.NonInviteClientTransaction.start(NonInviteClientTransaction.java:121)
ERROR  | 2019/01/23 04:57:28 | 	at net.sourceforge.peers.sip.core.useragent.InitialRequestManager.createInitialRequestEnd(InitialRequestManager.java:198)
ERROR  | 2019/01/23 04:57:28 | 	at net.sourceforge.peers.sip.core.useragent.InitialRequestManager.createInitialRequest(InitialRequestManager.java:179)
ERROR  | 2019/01/23 04:57:28 | 	at net.sourceforge.peers.sip.core.useragent.InitialRequestManager.createInitialRequest(InitialRequestManager.java:152)
ERROR  | 2019/01/23 04:57:28 | 	at net.sourceforge.peers.sip.core.useragent.UAC.register(UAC.java:96)
ERROR  | 2019/01/23 04:57:28 | 	at com.inductiveautomation.alarming.notification.sip.call.CallManager$RegistrationJob.run(CallManager.java:488)
INFO   | 2019/01/23 04:57:28 | [alarm.Notification.Voice.CallManager] Registration failed with message 'unknown [-1]'

Based on the errors in the logs, you’re either not talking to the SIP server on the right address/port (so we’re getting an unexpected message back) or the server isn’t set up to return the information Ignition’s looking for.

Hi Paul,

Eventually I managed to connect with the service, however now I’m getting the following error, no matter the voice I use either legacy or current, I’m working on V 7.9.10.

com.inductiveautomation.alarming.notification.sip.content.scripts.NoCompatibleScriptOrVoiceException: No compatible voice found

at com.inductiveautomation.alarming.notification.sip.profile.SipNotificationProfile$TtsScriptFactory.buildScript(SipNotificationProfile.java:289)

at com.inductiveautomation.alarming.notification.sip.call.NotificationJob.run(NotificationJob.java:161)

at com.inductiveautomation.alarming.notification.sip.call.CallManager$CallQueueConsumer.run(CallManager.java:639)

Looks like you need to download one of the language-specific voice modules: https://support.inductiveautomation.com/index.php?/Knowledgebase/Article/View/103/0/voice-notification-downloads

You’ll need to restart the gateway after installing the voice module.

Hi Paul,

I already had a voice module installed, in particular the spanish one Sara, throwing always the same error, I’ve uninstalled it and tried with Katherine and it works perfectly, the problem is that I need the spanish module.

Solved, I overlooked the language assigned to he user.

1 Like