No Notifications

Hello,

Have installed *-IM and added mappings. No notifications at all are sent to spark clients. Using wildfire 2.6.2 & Spark 1.1.4. Are using fqdn on spark and on wildfire as suggested on another thread.

Logs below and greateful for any help you can give.

info log

2006.06.06 10:38:31 Started SSL (encrypted) socket on port: 5223

2006.06.06 10:38:31 Wildfire 2.6.2

2006.06.06 10:38:35 Admin console listening at:

http://192.168.0.1:9090

https://192.168.0.1:9091

2006.06.06 10:38:35 Initializing Asterisk-IM Plugin

2006.06.06 10:38:35 Initializing Asterisk Manager connection

2006.06.06 10:38:35 Connecting to 192.168.0.2 port 5038

2006.06.06 10:38:35 Connected via Asterisk Call Manager/1.0

2006.06.06 10:38:35 Successfully logged in

2006.06.06 10:38:35 Determined Asterisk version: Asterisk 1.2

2006.06.06 10:38:35 Registering phone plugin as a component

2006.06.06 10:42:26 Started server (unencrypted) socket on port: 5269

2006.06.06 10:42:26 Started plain (unencrypted) socket on port: 5222

2006.06.06 10:42:27 Started SSL (encrypted) socket on port: 5223

2006.06.06 10:42:27 Publish-Subscribe domain: pubsub.fqdn

2006.06.06 10:42:27 Multi User Chat domain: conference.fqdn

2006.06.06 10:42:27 Wildfire 2.6.2

2006.06.06 10:42:31 Admin console listening at:

http://fqdn:9090

https://fqdn:9091

2006.06.06 10:42:31 Initializing Asterisk-IM Plugin

2006.06.06 10:42:32 Initializing Asterisk Manager connection

2006.06.06 10:42:32 Connecting to 192.168.0.2 port 5038

2006.06.06 10:42:32 Connected via Asterisk Call Manager/1.0

2006.06.06 10:42:32 Successfully logged in

2006.06.06 10:42:32 Determined Asterisk version: Asterisk 1.2

2006.06.06 10:42:32 Registering phone plugin as a component

2006.06.06 10:46:49 unloading asterisk-im plugin resources

2006.06.06 10:46:49 Unregistering asterisk-im plugin as a component

2006.06.06 10:46:49 Reached end of stream, terminating reader.

2006.06.06 10:46:49 Closing socket.

2006.06.06 10:46:49 Wildfire stopped

2006.06.06 10:46:54 Server halted

2006.06.06 10:47:01 Started server (unencrypted) socket on port: 5269

2006.06.06 10:47:01 Started plain (unencrypted) socket on port: 5222

2006.06.06 10:47:02 Started SSL (encrypted) socket on port: 5223

2006.06.06 10:47:02 Multi User Chat domain: conference.fqdn

2006.06.06 10:47:02 Publish-Subscribe domain: pubsub.fqdn

2006.06.06 10:47:02 Wildfire 2.6.2

2006.06.06 10:47:06 Admin console listening at:

http://fqdn:9090

https://fqdn:9091

2006.06.06 10:47:06 Initializing Asterisk-IM Plugin

2006.06.06 10:47:06 Initializing Asterisk Manager connection

2006.06.06 10:47:06 Connecting to 192.168.0.2 port 5038

2006.06.06 10:47:07 Connected via Asterisk Call Manager/1.0

2006.06.06 10:47:07 Successfully logged in

2006.06.06 10:47:07 Determined Asterisk version: Asterisk 1.2

2006.06.06 10:47:07 Registering phone plugin as a component

Runtime Screen

06-Jun-2006 10:47:06 net.sf.asterisk.util.impl.JavaLoggingLog info

INFO: Connecting to 192.168.0.2 port 5038

06-Jun-2006 10:47:07 net.sf.asterisk.util.impl.JavaLoggingLog info

INFO: Connected via Asterisk Call Manager/1.0

06-Jun-2006 10:47:07 net.sf.asterisk.util.impl.JavaLoggingLog info

INFO: Successfully logged in

06-Jun-2006 10:47:07 net.sf.asterisk.util.impl.JavaLoggingLog info

INFO: Determined Asterisk version: Asterisk 1.2

06-Jun-2006 10:57:18 net.sf.asterisk.util.impl.JavaLoggingLog info

INFO: Reached end of stream, terminating reader.

06-Jun-2006 10:57:18 net.sf.asterisk.util.impl.JavaLoggingLog info

INFO: Closing socket.

06-Jun-2006 10:57:24 net.sf.asterisk.util.impl.JavaLoggingLog info

INFO: Connecting to 192.168.0.2 port 5038

06-Jun-2006 10:57:24 net.sf.asterisk.util.impl.JavaLoggingLog info

INFO: Connected via Asterisk Call Manager/1.0

06-Jun-2006 10:57:24 net.sf.asterisk.util.impl.JavaLoggingLog info

INFO: Successfully logged in

06-Jun-2006 10:57:24 net.sf.asterisk.util.impl.JavaLoggingLog info

INFO: Determined Asterisk version: Asterisk 1.2

06-Jun-2006 10:57:37 net.sf.asterisk.util.impl.JavaLoggingLog info

INFO: Adding channel SIP/john-99ab

06-Jun-2006 10:57:37 net.sf.asterisk.util.impl.JavaLoggingLog info

INFO: Adding channel IAX2/voipprovider-1

06-Jun-2006 10:57:37 net.sf.asterisk.util.impl.JavaLoggingLog info

INFO: Adding channel IAX2/voipprovider-1

06-Jun-2006 10:57:37 net.sf.asterisk.util.impl.JavaLoggingLog info

INFO: Adding channel CAPI/isdn-card/9999999999-4

06-Jun-2006 10:57:37 net.sf.asterisk.util.impl.JavaLoggingLog info

INFO: Adding channel SIP/carmel-2797

06-Jun-2006 10:57:38 net.sf.asterisk.util.impl.JavaLoggingLog info

INFO: Adding channel SIP/carmel-2797

06-Jun-2006 10:57:38 net.sf.asterisk.util.impl.JavaLoggingLog info

INFO: Removing channel IAX2/voipprovider-1 due to hangup

06-Jun-2006 10:57:38 net.sf.asterisk.util.impl.JavaLoggingLog info

INFO: Removing channel SIP/john-99ab due to hangup

06-Jun-2006 10:57:39 net.sf.asterisk.util.impl.JavaLoggingLog info

INFO: Removing channel SIP/carmel-2797 due to hangup

06-Jun-2006 10:57:39 net.sf.asterisk.util.impl.JavaLoggingLog info

INFO: Removing channel CAPI/isdn-card/9999999999-4 due to hangup

Ive done abit of testing and it appears that I have the same problem as listed here

http://www.jivesoftware.org/community/thread.jspa?messageID=120362

However the fix is not the same wildfire is communicating with asterisk. When I click save on the asterisk page in the web console I get a blank page and this is recorded in the logs.

2006.06.08 12:50:12 [org.jivesoftware.wildfire.plugin.phone.phone_002dsettings_jsp._jspService(phon e_002dsettings_jsp.java:146)

] Unable to acquire asterisk plugin instance!

2006.06.08 12:50:12 [org.jivesoftware.wildfire.container.PluginServlet.service(PluginServlet.java:1 03)

]

java.lang.IllegalStateException: Unable to acquire asterisk plugin instance!

at org.jivesoftware.wildfire.plugin.phone.phone_002dsettings_jsp._jspService(phone _002dsettings_jsp.java:147)

at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)

at org.jivesoftware.wildfire.container.PluginServlet.handleJSP(PluginServlet.java: 227)

at org.jivesoftware.wildfire.container.PluginServlet.service(PluginServlet.java:91 )

at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)

at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)

at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplica tionHandler.java:830)

at org.jivesoftware.admin.AuthCheckFilter.doFilter(AuthCheckFilter.java:98)

at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplica tionHandler.java:821)

at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:11 8)

at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)

at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplica tionHandler.java:821)

at org.jivesoftware.util.LocaleFilter.doFilter(LocaleFilter.java:43)

at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplica tionHandler.java:821)

at org.jivesoftware.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingF ilter.java:41)

at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplica tionHandler.java:821)

at org.jivesoftware.admin.AuthCheckFilter.doFilter(AuthCheckFilter.java:98)

at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplica tionHandler.java:821)

at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler. java:471)

at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)

at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)

at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.ja va:633)

at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)

at org.mortbay.http.HttpServer.service(HttpServer.java:909)

at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)

at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:982)

at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)

at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)

at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)

at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)

I have deleted the wildfire instation directory and re-installed without sucess.

Thanks…

Either I am doing something very silly or Wildfire or *-im is broken. I have installed wildfire (JRE Included) and *-IM on another server again and still have the same error after following instructions.

Error is "Unable to acquire asterisk plugin instance! in error log.

Please help…

Your first post made it look like you were able to save some mappings. What are the debug logs looking like on the server. And what are the client traffic logs looking like?

I am able to save mappings but that is it. Wildfire is talking to asterisk sucessfully but nothing phone related is getting to spark.

The dial button is not available in spark either. I think the plugin is not being installed correctly.

Here is the debug log after restarting the plugin and then making a call.

2006.06.21 09:57:34 Unloading plugin asterisk-im

2006.06.21 09:57:34 Shutting down Manager connection

2006.06.21 09:57:40 Loading plugin asterisk-im

2006.06.21 09:58:00 Asterisk-IM: Processing NewState:UP event channel : SIP/john-e38f id: 1150879441.840

2006.06.21 09:58:00 Asterisk-IM OnPhoneTask called for user PhoneUser{id=1, username=’‘JohnD’’}

2006.06.21 09:58:08 Asterisk-IM HangupTask called for user PhoneUser{id=1, username=’‘JohnD’’}

2006.06.21 09:58:08 Cannot destroy non-existent CallSession with id: 1150879441.840

Looks good except I don’'t see any presence information beind passed around on the server.

Have you tried making a call between two mapped accounts? and seeing if you get a presence message there?

To get my install working the first time I had to delete all mappings then delete all accounts (except admin) restart the server, recreate accounts, recreate mappings and then it was consistently working. All I can think is that the phone mappings get confused easily when you change server/account settings.

Here’'s some logs with the presence line missing in your log

2006.06.14 16:27:24 Asterisk-IM RingTask called for user PhoneUser{id=4, username=’‘testuser’’}

2006.06.14 16:27:25 Asterisk-IM: Processing NewState:UP event channel : SIP/22-dca0 id: 1150316843.47

2006.06.14 16:27:25 Asterisk-IM OnPhoneTask called for user PhoneUser{id=4, username=’‘testuser’’}

2006.06.14 16:27:25 Asterisk-IM OnPhoneTask: setting presence to away for PhoneUser{id=4, username=’‘testuser’’}[/b]

2006.06.14 16:27:25 Asterisk-IM: Processing NewState:UP event channel : SIP/24-26f8 id: 1150316843.46

2006.06.14 16:27:25 Asterisk-IM OnPhoneTask called for user PhoneUser{id=3, username=’‘NathanWS’’}[/i]

And here’'s what you should see on the client traffic log

[/i]

Thanks for the reply.

Yes I have tryed placing acall between two spark users and deleting the mappings and re-installing the wildfire and *-im from scratch. Nothing worked.

I’‘m now in the boat with you again, I deleted all my previous accounts, setup Wildfire with AD linking and now I’'m not getting my presence notices again with my new mappings.

edit: Ah-ha, restarting the server and reinstalling the plugin were not getting much of anywhere but going to the server menu, then the plugins menu and selecting ‘‘restart plugin’’ for Asterisk-IM got me going again.

Message was edited by: NathanWS

Anyone using Asterisk-IM on windows 2003 server? I wondering if thats the reason it not working…

I am running it on win2k server.