09:21:31.880 [debug] Received XML on stream = <<>>
09:21:31.880 [debug] State: {maxrate,1000,997.4535785964104,1470205275891251}, Size=0
M=0.0, I=15989.345
09:21:31.881 [info] Waiting for resumption of stream for test@freeswitch.intellin.ru/chatsecure27345
09:21:31.881 [debug] +++++ dispatch: found push_user
09:21:31.881 [debug] +++++ NewSubscrs = [{subscription,<<"chatsecure27345">>,true,<<"D9AAAC89-624B-4111-84E5-AB803696EA19">>,{local_reg,<<"push.freeswitch.intellin.ru">>,undefined}}]
09:21:31.881 [debug] +++++ dispatch: found subscription
09:21:31.882 [debug] +++++++ adjusting timeout to 8640000
and send message.
Ejabberd log:
09:24:30.040 [debug] Received XML on stream = <<"<message type='chat' id='purple9958c57a' to='test@freeswitch.intellin.ru'><active xmlns='http://jabber.org/protocol/chatstates'/><body>wefwef</body></message>">>
09:24:30.041 [debug] State: {maxrate,1000,65.85948952159313,1470205465288562}, Size=158
M=81.69003189996725, I=4752.344
09:24:30.041 [debug] route
from {jid,<<"admin">>,<<"freeswitch.intellin.ru">>,<<"7014940389500472212350938932415206807710941962853937282559">>,<<"admin">>,<<"freeswitch.intellin.ru">>,<<"7014940389500472212350938932415206807710941962853937282559">>}
to {jid,<<"test">>,<<"freeswitch.intellin.ru">>,<<>>,<<"test">>,<<"freeswitch.intellin.ru">>,<<>>}
packet {xmlel,<<"message">>,[{<<"type">>,<<"chat">>},{<<"id">>,<<"purple9958c57a">>},{<<"to">>,<<"test@freeswitch.intellin.ru">>}],[{xmlel,<<"active">>,[{<<"xmlns">>,<<"http://jabber.org/protocol/chatstates">>}],[]},{xmlel,<<"body">>,[],[{xmlcdata,<<"wefwef">>}]}]}
09:24:30.042 [debug] local route
from {jid,<<"admin">>,<<"freeswitch.intellin.ru">>,<<"7014940389500472212350938932415206807710941962853937282559">>,<<"admin">>,<<"freeswitch.intellin.ru">>,<<"7014940389500472212350938932415206807710941962853937282559">>}
to {jid,<<"test">>,<<"freeswitch.intellin.ru">>,<<>>,<<"test">>,<<"freeswitch.intellin.ru">>,<<>>}
packet {xmlel,<<"message">>,[{<<"type">>,<<"chat">>},{<<"id">>,<<...>>},{<<...>>,...}],[{xmlel,<<...>>,...},{xmlel,...}]}
09:24:30.042 [debug] session manager
from {jid,<<"admin">>,<<"freeswitch.intellin.ru">>,<<"7014940389500472212350938932415206807710941962853937282559">>,<<"admin">>,<<"freeswitch.intellin.ru">>,<<"7014940389500472212350938932415206807710941962853937282559">>}
to {jid,<<"test">>,<<"freeswitch.intellin.ru">>,<<>>,<<"test">>,<<"freeswitch.intellin.ru">>,<<>>}
packet {xmlel,<<"message">>,[{<<"type">>,<<"chat">>},{<<"id">>,<<...>>},{<<...>>,...}],[{xmlel,<<...>>,...},{xmlel,...}]}
09:24:30.042 [debug] sending to process <0.550.0>
09:24:30.042 [debug] Recipient of message to bare JID has top priority: test@freeswitch.intellin.ru/chatsecure27345
09:24:30.045 [debug] ++++++++++++ Stored Stanza for {jid,<<"test">>,<<"freeswitch.intellin.ru">>,<<"chatsecure27345">>,<<"test">>,<<"freeswitch.intellin.ru">>,<<"chatsecure27345">>}: {xmlel,<<"message">>,[{<<"from">>,<<"admin@freeswitch.intellin.ru/7014940389500472212350938932415206807710941962853937282559">>},{<<"to">>,<<"test@freeswitch.intellin.ru">>},{<<"type">>,<<"chat">>},{<<"id">>,<<"purple9958c57a">>}],[{xmlel,<<"archived">>,[{<<"by">>,<<"freeswitch.intellin.ru">>},{<<"xmlns">>,<<"urn:xmpp:mam:tmp">>},{<<"id">>,<<"1470205470042943">>}],[]},{xmlel,<<"stanza-id">>,[{<<"by">>,<<"freeswitch.intellin.ru">>},{<<"xmlns">>,<<"urn:xmpp:sid:0">>},{<<"id">>,<<"1470205470042943">>}],[]},{xmlel,<<"active">>,[{<<"xmlns">>,<<"http://jabber.org/protocol/chatstates">>}],[]},{xmlel,<<"body">>,[],[{xmlcdata,<<"wefwef">>}]}]}
09:24:30.046 [debug] +++++ dispatch: found push_user
09:24:30.046 [debug] +++++ NewSubscrs = [{subscription,<<"chatsecure27345">>,true,<<"D9AAAC89-624B-4111-84E5-AB803696EA19">>,{local_reg,<<"push.freeswitch.intellin.ru">>,undefined}}]
09:24:30.046 [debug] +++++ dispatch: found subscription
09:24:30.046 [info] push event for local user {<<"test">>,<<"freeswitch.intellin.ru">>}, but user is not registered at local app server
Notification is not sent.
What I miss?
Please need help.
I use ejabberd 15 with dev certs for apns.
Config:
In mnesia:
Then I close app on ios Ejabberd log:
and send message. Ejabberd log:
Notification is not sent. What I miss? Please need help.