2 identically configured phones: push only works on one of them

Discussion in 'Android' started by politby, Feb 11, 2016.

Thread Status:
Not open for further replies.
  1. politby

    Joined:
    Feb 9, 2016
    Messages:
    12
    Likes Received:
    0
    -------------------------------------------------------
    Phone Model: LG G3 D855
    Firmware Version: 6.0

    Issue Info
    -------------------------------------------------------
    Handset: [Phone]
    Contacts: [Google]
    Connection: [WiFi]
    Server: [Internal]


    I have two LG G3 phones running Android 6 and the latest version of the 3cx client. Both are identically configured and provisioned but for some reason only one of them wakes up when calling from the 3cx PBX. In both cases the call appears to be transferred and I get ringtones, but the app only wakes up on the first phone.

    Excerpt from log file for call to the phone that does wake up:

    Code:
    16-02-11 14:29:48.658|200002| Trc|75|0008|: Del: Call(31) [Dialing] DN=12 IP=11 EP=11
    Attached: [sip_displayname=Per-Olof Litby;lookup_displayname=Per-Olof Litby;tag3cx=66529ae10778445f9e9eee6c3b183ed2;chid=00000BEA013C4B9D_31;prevCall=0;prevLeg=0;extnumber=11;devcontact=sip:12@192.168.2.143:50195;transport=TCP;rinstance=1-5dacb87c383a46e5b2a71b957a6d3bf1;ob]
    16-02-11 14:29:48.667|200002| Trc|75|0008|: Del: Call(31) [Ringing] DN=11 IP=(null) EP=12
    Attached: [chid=00000BEA013C4B9D_31;prevCall=0;prevLeg=0;extnumber=12;devcontact=sip:11@127.0.0.1:5488;rinstance=3cad9310c9d1e44a;lookup_displayname=Per-Olof Litby]
    16-02-11 14:29:48.822|100016| Inf|50|0001|: Call(7-AOFLBXDBSY): sent push request:
    {"registration_ids" : [ "APA91bHghVIhZ6tU8ZVkO18wG_SKt0Jcb6izfHRbf0xCZ25zN2EcK-Ny9qoaqEwvrWbYGbgOrgBnMI7EyV4Uv-VvTUS-_nk8TLcnimT56fFgh-9pLdJEVzD2rKdt41bomkOv1HtNDFzs" ], "data": {"replaces": "YTc4MDkxNWE2OGFkNWY3ODJhOTI1NjJlNzE2MjAwZjE.;from-tag=544f3f23;to-tag=bf1eae56", "callerid": "12", "inst": "25f4b400", "reason": 1 } }
     GCM response: OK OK
    
    
    And for the one that does not wake up:

    Code:
    16-02-11 14:30:22.739|200002| Trc|75|0008|: Ins: Call(33) [Ringing] DN=13 IP=12 EP=12
    Attached: [chid=00000BEA013CEBC1_33;prevCall=0;prevLeg=0;extnumber=12;devcontact=sip:13@127.0.0.1:5488;rinstance=2a801f7aa6dbac8e;lookup_displayname=Eleonora Litby]
    16-02-11 14:30:42.710|100016| Inf|50|0001|: Call(9-QIGKFPSPGG): sent push request:
    {"registration_ids" : [ "APA91bFGPXkO4MNY_KAsRNbSCYaedi7orrdJsZVwPwOk695XHeXKZGUJyeSIw5Cw7qn0L3TV-scqnJmkhmUYCFCJF5u12hBjtU5jmUISr8KaL02R1maaApNIlXyLVojaMOLe7pnIY7kK" ], "data": {"replaces": "ZTRhY2MwOTY4YjlkMDcxYWFhNTU2NjRmMzgyNjE0MjQ.;from-tag=cb55904a;to-tag=f2350c3a", "callerid": "12", "inst": "407b547a", "reason": 1 } }
     GCM response: OK OK
    16-02-11 14:30:42.760|200002| Trc|75|0008|: Del: Call(33) [Ringing] DN=13 IP=12 EP=12
    Attached: [chid=00000BEA013CEBC1_33;prevCall=0;prevLeg=0;extnumber=12;devcontact=sip:13@127.0.0.1:5488;rinstance=2a801f7aa6dbac8e;lookup_displayname=Eleonora Litby]
    16-02-11 14:30:42.864|200002| Trc|75|0008|: Ins: Call(33) [Ringing] DN=99 IP=12 EP=12
    Attached: [chid=00000BEA013CEBC1_33;prevCall=0;prevLeg=0;extnumber=12;devcontact=sip:99@127.0.0.1:5483;rinstance=318cd3bf3f7296e9;onbehlfof=13]
    16-02-11 14:30:42.880|200002| Trc|75|0008|: Upd: Call(33) [Connected] DN=12 IP=99 EP=13
    Attached: [sip_displayname=Per-Olof Litby;lookup_displayname=Per-Olof Litby;tag3cx=e35992559643417dbf9bd2dad5f4fbe9;prevCall=0;prevLeg=0;devcontact=sip:12@192.168.2.143:50195;transport=TCP;rinstance=1-5dacb87c383a46e5b2a71b957a6d3bf1;ob;extnumber=13;chid=00000BEA013CEBC1_33]
    16-02-11 14:30:42.889|200002| Trc|75|0008|: Upd: Call(33) [Connected] DN=99 IP=12 EP=12
    Attached: [prevCall=0;prevLeg=0;devcontact=sip:99@127.0.0.1:5483;rinstance=318cd3bf3f7296e9;extnumber=12;onbehlfof=13;chid=00000BEA013CEBC1_33]
    16-02-11 14:30:44.908|200002| Trc|75|0008|: Del: Call(33) [Connected] DN=12 IP=99 EP=13
    Attached: [sip_displayname=Per-Olof Litby;lookup_displayname=Per-Olof Litby;tag3cx=e35992559643417dbf9bd2dad5f4fbe9;prevCall=0;prevLeg=0;devcontact=sip:12@192.168.2.143:50195;transport=TCP;rinstance=1-5dacb87c383a46e5b2a71b957a6d3bf1;ob;extnumber=13;chid=00000BEA013CEBC1_33]
    16-02-11 14:30:44.921|200002| Trc|75|0008|: Del: Call(33) [Connected] DN=99 IP=(null) EP=12
    Attached: [prevCall=0;prevLeg=0;devcontact=sip:99@127.0.0.1:5483;rinstance=318cd3bf3f7296e9;extnumber=12;onbehlfof=13;chid=00000BEA013CEBC1_33]
    
    
    In both cases it looks pretty identical. The push request appears to be sent out, receiving a positive response from the Google server. So it looks like maybe the problem is local to the specific phone. Any ideas?
     
  2. NickD_3CX

    NickD_3CX Support Team
    Staff Member 3CX Support

    Joined:
    Jun 2, 2014
    Messages:
    1,255
    Likes Received:
    63
    Are both of the phones registered to the same extension number or do they have different extension numbers?
     
  3. politby

    Joined:
    Feb 9, 2016
    Messages:
    12
    Likes Received:
    0
    Different. The working one is extension 11, the one that does not is extension 13. I am making the test calls from extension 12 which is a Windows PC.

    I just realized I probably did not copy from the log file correctly, so I am attaching the log file from this afternoon's testing in its entirety to ensure it contains the correct information.
     

    Attached Files:

  4. politby

    Joined:
    Feb 9, 2016
    Messages:
    12
    Likes Received:
    0
    Edit: I just noticed that I am not getting the "push activated, ready for incoming calls" notification on the phone that does not wake up. also tried uninstalling the client, reinstalling and reprovisioning but that did not help.
     
  5. leejor

    leejor Well-Known Member

    Joined:
    Jan 22, 2008
    Messages:
    10,374
    Likes Received:
    231
    Perhaps something with the Google account settings in the phone? Typo?
     
  6. politby

    Joined:
    Feb 9, 2016
    Messages:
    12
    Likes Received:
    0
    I don't think so. Both phones work fine with their respective Google accounts.

    One thing that occurred to me is that both phones obviously have different Google accounts, while the Push configuration in the server is set up using the API key from one account. I assume every android client does not require its own key?
     
  7. NickD_3CX

    NickD_3CX Support Team
    Staff Member 3CX Support

    Joined:
    Jun 2, 2014
    Messages:
    1,255
    Likes Received:
    63
    You only need one Google Account to create the GCM Project, then it will work with all extensions.

    Although I have yet to understand why and personally I have never had to do this, I have heard of a few people that had to delete the API Project completely and recreate it with a new Key number to get it working. If you already have a second Google Account, even better create a new one from the second one.

    Don't forget after this that you must delete the accounts and send new Welcome Emails out to all extensions.
     
Thread Status:
Not open for further replies.