Enable Google PUSH, Apple PUSH stops

Discussion in '3CX Phone System - General' started by Prometheus DBA, May 11, 2017.

Tags:
Thread Status:
Not open for further replies.
  1. Prometheus DBA

    Joined:
    Mar 7, 2017
    Messages:
    50
    Likes Received:
    2
    Like the title says, if I enable Google PUSH using the Google API, then incomming calls are not pushed to apple devices. Why is this? Is it a bug or did I miss something.
     
  2. Panayiotis_3CX

    Panayiotis_3CX Support Team
    Staff Member 3CX Support

    Joined:
    Apr 26, 2017
    Messages:
    165
    Likes Received:
    7
    Hello @Prometheus DBA,


    Can you please explain how exactly you enable this service?
     
  3. Prometheus DBA

    Joined:
    Mar 7, 2017
    Messages:
    50
    Likes Received:
    2
    I use the latest version of 3CX. When I disable the Google API settings, the PUSH to Apple devices works like a charm. I followed 3CX documentation to enable this in "settings -> 3CX Client".
     
  4. Panayiotis_3CX

    Panayiotis_3CX Support Team
    Staff Member 3CX Support

    Joined:
    Apr 26, 2017
    Messages:
    165
    Likes Received:
    7
    @Prometheus DBA,

    We tried replicating your issue but with no result. All Android and iOS devices receive push calls. You can try creating another API project and make sure that all settings are correct. Also check in the Management Console's Updates section if the latest iOS firmware is installed. If not, update and resend Welcome email to iOS device to reprovision.
    Let us know if you manage to resolve your issue.
     
  5. Prometheus DBA

    Joined:
    Mar 7, 2017
    Messages:
    50
    Likes Received:
    2
    Ok, so I created another project like you said, and filled in the API key and project number in 3CX. Same result, still not working. If I clear the API and project ID from 3CX, then calls suddenly are pushed to IOS devices again. (IOS 10.3.1 is used).
     
  6. Panayiotis_3CX

    Panayiotis_3CX Support Team
    Staff Member 3CX Support

    Joined:
    Apr 26, 2017
    Messages:
    165
    Likes Received:
    7
  7. Prometheus DBA

    Joined:
    Mar 7, 2017
    Messages:
    50
    Likes Received:
    2
    Ok so I tested it a little bit more, PUSH to Apple devices works fine so no problems there. But I can't get it to work with Google PUSH. I've tried a couple diffrent devices on WiFi and 4G but when the 3CX app is completely shutdown, like after a reboot of the phone, no call's come in. So I think the app must always be running in the background before it can receive calls. Is this correct?

    Also I want to send you the debug log files you requested, but I don't know how to properly generate them for you.
     
  8. Panayiotis_3CX

    Panayiotis_3CX Support Team
    Staff Member 3CX Support

    Joined:
    Apr 26, 2017
    Messages:
    165
    Likes Received:
    7
    Hello @Prometheus DBA,

    When you created the Google API, did you put an IP address in the Accept requests from these IP addresses option? If you have, remove it, save and try it again.
    Please see attachment.

    upload_2017-5-12_12-49-30.png

    Edit: Also, please check in the Updates section of your PBX if all the updates are installed.
     
  9. Prometheus DBA

    Joined:
    Mar 7, 2017
    Messages:
    50
    Likes Received:
    2
    Ok I disabled the restriction on the API, so now I have to wait a couple of minutes. I have the lates version of 3CX installed, version 15.5.xxxx
     
  10. Prometheus DBA

    Joined:
    Mar 7, 2017
    Messages:
    50
    Likes Received:
    2
    Ok, so I tested it whiteout the restrictions on the API key, but still not working. On android, if the app is open on WiFi or 4G calls can be received. If I exit the app using the exit button, calls can still be received. If I forcefully shut down the app, calls can no longer be received. Is this maybe by design?
     
  11. Prometheus DBA

    Joined:
    Mar 7, 2017
    Messages:
    50
    Likes Received:
    2
    Below is whats in the dialer log:


    Code:
    17-05-12 12:10:10.277|200003| Trc|50|0007|: DBG: Contact for 4e9b7527 is active, expires at 12-5-2017 12:12:10
    17-05-12 12:10:10.302|100019| Inf|50|0007|: Update PUSH client for Extn.017: Allowed, regid = FCM#e5tuSLAu23A:APA91bH2uViKYvcPyl_wuAqog44Hz92y_v8u3OWXLFs0NMqsS9kr3puEkZ_w_WSlBlnDkudJlRRsI-8mUIWTlHie_-_Z8HDgW6B7PEkP3MJ_I0ndHpHTQWVCmwAARLw2EmGzmxQgVA8z,A,4e9b7527
    17-05-12 12:10:10.581|200003| Trc|50|0007|: DBG: Contact for 5F4795 is active, expires at 12-5-2017 12:12:10
    17-05-12 12:10:10.602|100019| Inf|50|0007|: Update PUSH client for Extn.013: Allowed, regid = pZ15r5V+nCM93UXJe9Znf0ufHqn95LXqOHBv15ODxiE=,I,5F4795
    17-05-12 12:10:23.532|200002| Trc|75|0007|: Ins: Call(55) [Dialing] DN=013 IP=013 EP=017
    Attached: [sip_displayname=Jeffrey Jaspers;lookup_displayname=Jeffrey Jaspers;chid=00000BF32CD9B4A0_55;prevCall=0;prevLeg=0;extnumber=017;devcontact=sip:013@10.113.116.245:50195;transport=TCP;rinstance=0-icylvcsn47rzbgydt8lnsx-y4jfhwgc4;ob;inst="5F4795";directcallctrl=1]
    17-05-12 12:10:23.771|200003| Trc|50|0003|: DBG: Call::Call(), handle=487438384
    17-05-12 12:10:23.771|200003| Trc|50|0003|: DBG: _phone_OnNewCall called: TGKJYOXWGTUI
    17-05-12 12:10:23.772|200003| Trc|50|0026|: DBG: OnNewCall called: TGKJYOXWGTUI
    17-05-12 12:10:23.775|200003| Trc|50|0003|: DBG: incall_OnTerminated called: TGKJYOXWGTUI
    17-05-12 12:10:23.775|200003| Trc|50|0003|: DBG: Call::Dispose(487438384)
    17-05-12 12:10:23.775|200003| Trc|50|0025|: DBG: OnTerminated called:TGKJYOXWGTUI
    17-05-12 12:10:23.900|200002| Trc|75|0007|: Ins: Call(55) [Ringing] DN=017 IP=013 EP=013
    Attached: [chid=00000BF32CD9B4A0_55;prevCall=0;prevLeg=0;extnumber=013;devcontact=sip:017@127.0.0.1:5488;rinstance=61a1729726f3b3a1;lookup_displayname=Joris Lankhorst]
    17-05-12 12:10:23.913|200002| Trc|75|0007|: Del: Call(55) [Ringing] DN=017 IP=013 EP=013
    Attached: [chid=00000BF32CD9B4A0_55;prevCall=0;prevLeg=0;extnumber=013;devcontact=sip:017@127.0.0.1:5488;rinstance=61a1729726f3b3a1;lookup_displayname=Joris Lankhorst]
    17-05-12 12:10:23.965|200002| Trc|75|0007|: Ins: Call(55) [Ringing] DN=017 IP=013 EP=013
    Attached: [chid=00000BF32CD9B4A0_55;prevCall=0;prevLeg=0;extnumber=013;devcontact=sip:017@172.XX.XX.XXX:50195;transport=TCP;rinstance=1-6d607cc36a3d4411bf6d655d3725739c;ob;lookup_displayname=Joris Lankhorst;directcallctrl=1]
    17-05-12 12:10:43.868|200002| Trc|75|0007|: Del: Call(55) [Ringing] DN=017 IP=013 EP=013
    Attached: [chid=00000BF32CD9B4A0_55;prevCall=0;prevLeg=0;extnumber=013;devcontact=sip:017@172.XX.XX.XXX:50195;transport=TCP;rinstance=1-6d607cc36a3d4411bf6d655d3725739c;ob;lookup_displayname=Joris Lankhorst;directcallctrl=1]
    17-05-12 12:10:43.891|200002| Trc|75|0007|: Ins: Call(55) [Ringing] DN=999 IP=013 EP=013
    Attached: [chid=00000BF32CD9B4A0_55;prevCall=0;prevLeg=0;extnumber=013;devcontact=sip:999@127.0.0.1:5483;rinstance=7c1b9309c1dec494;onbehlfof=017]
    17-05-12 12:10:43.919|200002| Trc|75|0007|: Upd: Call(55) [Connected] DN=013 IP=999 EP=017
    Attached: [sip_displayname=Jeffrey Jaspers;lookup_displayname=Jeffrey Jaspers;prevCall=0;prevLeg=0;devcontact=sip:013@10.113.116.245:50195;transport=TCP;rinstance=0-icylvcsn47rzbgydt8lnsx-y4jfhwgc4;ob;inst="5F4795";directcallctrl=1;extnumber=017;chid=00000BF32CD9B4A0_55]
    17-05-12 12:10:43.920|200002| Trc|75|0007|: Upd: Call(55) [Connected] DN=999 IP=013 EP=013
    Attached: [prevCall=0;prevLeg=0;devcontact=sip:999@127.0.0.1:5483;rinstance=7c1b9309c1dec494;extnumber=013;onbehlfof=017;chid=00000BF32CD9B4A0_55]
    17-05-12 12:10:47.561|200002| Trc|75|0007|: Del: Call(55) [Connected] DN=013 IP=999 EP=017
    Attached: [sip_displayname=Jeffrey Jaspers;lookup_displayname=Jeffrey Jaspers;prevCall=0;prevLeg=0;devcontact=sip:013@10.XX.XX.XXX:50195;transport=TCP;rinstance=0-icylvcsn47rzbgydt8lnsx-y4jfhwgc4;ob;inst="5F4795";directcallctrl=1;extnumber=017;chid=00000BF32CD9B4A0_55]
    17-05-12 12:10:47.568|200002| Trc|75|0007|: Del: Call(55) [Connected] DN=999 IP=(null) EP=013
    Attached: [prevCall=0;prevLeg=0;devcontact=sip:999@127.0.0.1:5483;rinstance=7c1b9309c1dec494;extnumber=013;onbehlfof=017;chid=00000BF32CD9B4A0_55]
    17-05-12 12:10:51.191|100019| Inf|50|0007|: Update PUSH client for Extn.013: Allowed, regid = pZ15r5V+nCM93UXJe9Znf0ufHqn95LXqOHBv15ODxiE=,I,5F4795
    17-05-12 12:11:23.819|200003| Trc|50|0007|: DBG: Contact for 4e9b7527 is active, expires at 12-5-2017 12:12:10
    17-05-12 12:11:23.819|200003| Trc|50|0007|: DBG: Contact for 4e9b7527 is active, expires at 12-5-2017 12:13:23
    17-05-12 12:11:23.839|100019| Inf|50|0007|: Update PUSH client for Extn.017: Allowed, regid = FCM#e5tuSLAu23A:APA91bH2uViKYvcPyl_wuAqog44Hz92y_v8u3OWXLFs0NMqsS9kr3puEkZ_w_WSlBlnDkudJlRRsI-8mUIWTlHie_-_Z8HDgW6B7PEkP3MJ_I0ndHpHTQWVCmwAARLw2EmGzmxQgVA8z,A,4e9b7527
    17-05-12 12:11:26.654|200003| Trc|50|0007|: DBG: Contact for 4e9b7527 is active, expires at 12-5-2017 12:12:10
    17-05-12 12:11:26.677|100019| Inf|50|0007|: Update PUSH client for Extn.017: Allowed, regid = FCM#e5tuSLAu23A:APA91bH2uViKYvcPyl_wuAqog44Hz92y_v8u3OWXLFs0NMqsS9kr3puEkZ_w_WSlBlnDkudJlRRsI-8mUIWTlHie_-_Z8HDgW6B7PEkP3MJ_I0ndHpHTQWVCmwAARLw2EmGzmxQgVA8z,A,4e9b7527
    17-05-12 12:11:31.271|200003| Trc|50|0007|: DBG: Contact for 4e9b7527 is active, expires at 12-5-2017 12:12:10
    17-05-12 12:11:35.375|200003| Trc|50|0007|: DBG: Contact for 5F4795 is active, expires at 12-5-2017 12:13:35
    17-05-12 12:11:35.395|100019| Inf|50|0007|: Update PUSH client for Extn.013: Allowed, regid = pZ15r5V+nCM93UXJe9Znf0ufHqn95LXqOHBv15ODxiE=,I,5F4795
    17-05-12 12:11:39.391|200002| Trc|75|0007|: Ins: Call(56) [Dialing] DN=013 IP=013 EP=017
    Attached: [sip_displayname=Jeffrey Jaspers;lookup_displayname=Jeffrey Jaspers;chid=00000BF32CDADCF3_56;prevCall=0;prevLeg=0;extnumber=017;devcontact=sip:013@10.XX.XX.XXX:50195;transport=TCP;rinstance=0-59xscjt91jxqc579x.jp59pseehf65lc;ob;inst="5F4795";directcallctrl=1]
    17-05-12 12:11:39.616|200003| Trc|50|0003|: DBG: Call::Call(), handle=487438400
    17-05-12 12:11:39.616|200003| Trc|50|0003|: DBG: _phone_OnNewCall called: ADWBSGQJRFLE
    17-05-12 12:11:39.620|200003| Trc|50|0024|: DBG: OnNewCall called: ADWBSGQJRFLE
    17-05-12 12:11:39.621|200003| Trc|50|0003|: DBG: incall_OnTerminated called: ADWBSGQJRFLE
    17-05-12 12:11:39.622|200003| Trc|50|0003|: DBG: Call::Dispose(487438400)
    17-05-12 12:11:39.622|200003| Trc|50|0023|: DBG: OnTerminated called:ADWBSGQJRFLE
    17-05-12 12:11:39.747|200002| Trc|75|0007|: Ins: Call(56) [Ringing] DN=017 IP=013 EP=013
    Attached: [chid=00000BF32CDADCF3_56;prevCall=0;prevLeg=0;extnumber=013;devcontact=sip:017@127.0.0.1:5488;rinstance=61a1729726f3b3a1;lookup_displayname=Joris Lankhorst]
    17-05-12 12:11:39.760|200002| Trc|75|0007|: Del: Call(56) [Ringing] DN=017 IP=013 EP=013
    Attached: [chid=00000BF32CDADCF3_56;prevCall=0;prevLeg=0;extnumber=013;devcontact=sip:017@127.0.0.1:5488;rinstance=61a1729726f3b3a1;lookup_displayname=Joris Lankhorst]
    17-05-12 12:11:39.812|200002| Trc|75|0007|: Ins: Call(56) [Ringing] DN=017 IP=013 EP=013
    Attached: [chid=00000BF32CDADCF3_56;prevCall=0;prevLeg=0;extnumber=013;devcontact=sip:017@172.XX.XX.XXX:50195;transport=TCP;rinstance=1-6d607cc36a3d4411bf6d655d3725739c;ob;lookup_displayname=Joris Lankhorst;directcallctrl=1]
    17-05-12 12:11:49.777|200002| Trc|75|0007|: Del: Call(56) [Dialing] DN=013 IP=017 EP=017
    Attached: [sip_displayname=Jeffrey Jaspers;lookup_displayname=Jeffrey Jaspers;chid=00000BF32CDADCF3_56;prevCall=0;prevLeg=0;extnumber=017;devcontact=sip:013@10.113.116.245:50195;transport=TCP;rinstance=0-59xscjt91jxqc579x.jp59pseehf65lc;ob;inst="5F4795";directcallctrl=1]
    17-05-12 12:11:49.783|200002| Trc|75|0007|: Del: Call(56) [Ringing] DN=017 IP=(null) EP=013
    Attached: [chid=00000BF32CDADCF3_56;prevCall=0;prevLeg=0;extnumber=013;devcontact=sip:017@172.XX.XX.XXX:50195;transport=TCP;rinstance=1-6d607cc36a3d4411bf6d655d3725739c;ob;lookup_displayname=Joris Lankhorst;directcallctrl=1]
    17-05-12 12:11:56.573|200003| Trc|50|0007|: DBG: Contact for 4e9b7527 is active, expires at 12-5-2017 12:12:10
    17-05-12 12:11:56.806|100019| Inf|50|0007|: Update PUSH client for Extn.013: Allowed, regid = pZ15r5V+nCM93UXJe9Znf0ufHqn95LXqOHBv15ODxiE=,I,5F4795
     
    #11 Prometheus DBA, May 12, 2017
    Last edited by a moderator: May 12, 2017
  12. Panayiotis_3CX

    Panayiotis_3CX Support Team
    Staff Member 3CX Support

    Joined:
    Apr 26, 2017
    Messages:
    165
    Likes Received:
    7
    @Prometheus DBA,

    I have sent you a message. Please check the conversations in your profile.
     
  13. Prometheus DBA

    Joined:
    Mar 7, 2017
    Messages:
    50
    Likes Received:
    2
    @panayiotis_3CX thank you for the instruction. I'll follow them to generate the required info for you. I think you'll receive them by monday.
     
  14. Panayiotis_3CX

    Panayiotis_3CX Support Team
    Staff Member 3CX Support

    Joined:
    Apr 26, 2017
    Messages:
    165
    Likes Received:
    7
    @Prometheus DBA,

    ***Note: Please do not attach the capture file on forum.
    The file has sensitive information about your VOIP Provider, WAN IP's, etc
     
  15. Prometheus DBA

    Joined:
    Mar 7, 2017
    Messages:
    50
    Likes Received:
    2
Thread Status:
Not open for further replies.